MATLAB Answers

want to change class of .mat file ?

7 views (last 30 days)
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.

  0 Comments

Sign in to comment.

Accepted Answer

Daniel Shub
Daniel Shub on 18 Nov 2011
doc cell2mat
Assuming you have cell c and want double x ...
x = cell2mat(c);

  1 Comment

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!