want to change class of .mat file ?

3 vues (au cours des 30 derniers jours)
Rakesh Praveen
Rakesh Praveen le 18 Nov 2011
hi, i have a mat file containing complex values of 64×1 dimension. This mat file is in class cell. i want to change it to class double. how do i change it ?
thank you.

Réponse acceptée

Daniel Shub
Daniel Shub le 18 Nov 2011
doc cell2mat
Assuming you have cell c and want double x ...
x = cell2mat(c);
  1 commentaire
Rakesh Praveen
Rakesh Praveen le 18 Nov 2011
thank u Daniel.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by