[scilab-Users] Write complex matrix to a file

Samuel Gougeon sgougeon at free.fr
Fri Oct 14 00:42:21 CEST 2011


Le 13/10/2011 20:47, joschi a écrit :
> Hi Group,
>
> i have timedata in a fiel. So i input the timedata-file and do a fft. Now i
> have complex data.
> How do i write them again in a file. I do not found any command that do
> that.
>
> Thanks for your help.
>    
Here is an example:

y = rand(1,10);
f = fft(y)
mputl(string(f),"fft.txt");
F = eval(mgetl("fft.txt"))

Tuning the number of digits output by string() (for each real and imag 
part)
is done through format().

Samuel



More information about the users mailing list