[Scilab-users] fft

Claus Futtrup cfuttrup at gmail.com
Thu Nov 26 19:19:35 CET 2020


Hi Scilabers

I'm trying to understand how to use the FFT function in Scilab. I'm 
using v. 6.1.0 on a Windows 10 machine.

This crashes Scilab:

y =  linspace(1,256,256) x = fft(y)

BTW, the example in the online help (https://help.scilab.org/docs/6.1.0/en_US/fft.html) also crashes Scilab:


sample_rate=1000; t = 0:1/sample_rate:0.6; N=size 
<https://help.scilab.org/docs/6.1.0/en_US/size.html>(t,'*'); //number of 
samples s=sin 
<https://help.scilab.org/docs/6.1.0/en_US/sin.html>(2*%pi*50*t)+sin 
<https://help.scilab.org/docs/6.1.0/en_US/sin.html>(2*%pi*70*t+%pi/4)+grand 
<https://help.scilab.org/docs/6.1.0/en_US/grand.html>(1,N,'nor',0,1); 
y=fft <https://help.scilab.org/docs/6.1.0/en_US/fft.html>(s);
Cheers,
Claus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20201126/844d7bc6/attachment.htm>


More information about the users mailing list