[Scilab-users] fft

classic Classic list List threaded Threaded
4 messages Options
Claus Futtrup Claus Futtrup
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] fft

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(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);

y=fft(s);


Cheers,
Claus

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Claus Futtrup Claus Futtrup
Reply | Threaded
Open this post in threaded view
|

Re: fft

Hi there

The 2D example from the help pages also crashes Scilab.

Maybe my Scilab installation is broken - the FFT part? I can't remember, but I think I installed the Intel Math Kernel with everything. My computer is a Lenovo T480 with Intel Core i7 processor. I have the following installed:

C:\Program Files\scilab-6.1.0>dir /S /B fft*.*
C:\Program Files\scilab-6.1.0\bin\fftw
C:\Program Files\scilab-6.1.0\bin\fftw.dll
C:\Program Files\scilab-6.1.0\bin\fftw\fftw-readme.txt
C:\Program Files\scilab-6.1.0\modules\fftw
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.quit
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.start

Cheers,
Claus

On 26-11-2020 19:19, Claus Futtrup wrote:

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(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);

y=fft(s);


Cheers,
Claus



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
fmiyara fmiyara
Reply | Threaded
Open this post in threaded view
|

Re: fft


Claus,

I recall that I had had a similar problem in certain occasion. The reason was that when installing Scilab I had selected an option to use a version of the FFT which, since it was much larger, I thought would be more complete, or faster... but it didn't work. Try to re-install Scilab and choose the default version of the FFT engine. It is good enough... and works!

Regards,

Federico Miyara

On 26/11/2020 15:24, Claus Futtrup wrote:
Hi there

The 2D example from the help pages also crashes Scilab.

Maybe my Scilab installation is broken - the FFT part? I can't remember, but I think I installed the Intel Math Kernel with everything. My computer is a Lenovo T480 with Intel Core i7 processor. I have the following installed:

C:\Program Files\scilab-6.1.0>dir /S /B fft*.*
C:\Program Files\scilab-6.1.0\bin\fftw
C:\Program Files\scilab-6.1.0\bin\fftw.dll
C:\Program Files\scilab-6.1.0\bin\fftw\fftw-readme.txt
C:\Program Files\scilab-6.1.0\modules\fftw
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.quit
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.start

Cheers,
Claus

On 26-11-2020 19:19, Claus Futtrup wrote:

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(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);

y=fft(s);


Cheers,
Claus



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


Libre de virus. www.avast.com

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Claus Futtrup Claus Futtrup
Reply | Threaded
Open this post in threaded view
|

Re: fft

Hi Federico

Thank you for your advice. I guess reinstalling Scilab is what I need to do.

Best regards,
Claus

On 26-11-2020 23:17, Federico Miyara wrote:

Claus,

I recall that I had had a similar problem in certain occasion. The reason was that when installing Scilab I had selected an option to use a version of the FFT which, since it was much larger, I thought would be more complete, or faster... but it didn't work. Try to re-install Scilab and choose the default version of the FFT engine. It is good enough... and works!

Regards,

Federico Miyara

On 26/11/2020 15:24, Claus Futtrup wrote:
Hi there

The 2D example from the help pages also crashes Scilab.

Maybe my Scilab installation is broken - the FFT part? I can't remember, but I think I installed the Intel Math Kernel with everything. My computer is a Lenovo T480 with Intel Core i7 processor. I have the following installed:

C:\Program Files\scilab-6.1.0>dir /S /B fft*.*
C:\Program Files\scilab-6.1.0\bin\fftw
C:\Program Files\scilab-6.1.0\bin\fftw.dll
C:\Program Files\scilab-6.1.0\bin\fftw\fftw-readme.txt
C:\Program Files\scilab-6.1.0\modules\fftw
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.quit
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.start

Cheers,
Claus

On 26-11-2020 19:19, Claus Futtrup wrote:

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(t,'*'); //number of samples
s=sin(2*%pi*50*t)+sin(2*%pi*70*t+%pi/4)+grand(1,N,'nor',0,1);

y=fft(s);


Cheers,
Claus



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


Libre de virus. www.avast.com

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users



_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users