want to change class of .mat file ?

2 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by