>> a=[1 2 3.24 -43 4.56];
>> numarray2cellstring(a)
ans =
'1' '2' '3.24' '-43' '4.56'
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
Monday, March 08, 2010
Matlab: Convert numerical array to cell with string representation of numbers
Short Matlab script that takes an array (i.e. vector) of numbers and returns cell with fileds that are string representation of the numbers in the array.For example:
Labels:
MATLAB
Wednesday, March 03, 2010
imagemagick: crop all images
Example:
convert rose: -crop 40x30+10+10 +repage repage.gif
Labels:
imagemagick
Subscribe to:
Posts (Atom)