converting uint32 to cell
5 views (last 30 days)
Show older comments
after operating the command
c4 = transpose( [ arrayl{:,4} ] );
in a matrix , c4 returns a columns of numbers (for more, refer to http://www.mathworks.in/matlabcentral/answers/35528-reading-numbers-from-an-unknown-format)
but the output is in uint32 format and i need to get it converted to cell format , suggestions please
0 Comments
Accepted Answer
More Answers (1)
Jan
on 16 Apr 2012
This:
[ arrayl{:,4} ]
converts the elements of the 4th column of the cell array1 explicitly to a vector. If you do not want this conversion, omit it:
c4 = transpose(arrayl(:,4));
Or if you want a {Nx1} cell, see Walter's suggestion.
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!