Octave saving matrix of numbers in scientific format

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Octave saving matrix of numbers in scientific format

pkohvaei
This post has NOT been accepted by the mailing list yet.
Hey all,

I save my matix of numbers with this command:
save ("-ascii", file_name, matrix_name);
and what relies in the file shows as:
 8.45093460e+001 3.16800000e+001 -1.98000000e+000
 8.45300900e+001 3.16800000e+001 -1.98000000e+000
 ...
how could I make a conversion to float format?


Thank you!