<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Claus,<br>
<br>
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!<br>
<br>
Regards,<br>
<br>
Federico Miyara <br>
</font><br>
<div class="moz-cite-prefix">On 26/11/2020 15:24, Claus Futtrup
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1ec27ad7-32db-c9a6-766e-31a4b6653de0@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hi there</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">The 2D example from the help pages
also crashes Scilab.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">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:<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">C:\Program Files\scilab-6.1.0>dir
/S /B fft*.*<br>
C:\Program Files\scilab-6.1.0\bin\fftw<br>
C:\Program Files\scilab-6.1.0\bin\fftw.dll<br>
C:\Program Files\scilab-6.1.0\bin\fftw\fftw-readme.txt<br>
C:\Program Files\scilab-6.1.0\modules\fftw<br>
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.quit<br>
C:\Program Files\scilab-6.1.0\modules\fftw\etc\fftw.start<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Cheers,</div>
<div class="moz-cite-prefix">Claus</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 26-11-2020 19:19, Claus Futtrup
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:dc137d09-7d50-b60a-6a2e-950384d55e08@gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>Hi Scilabers</p>
<p>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.</p>
This crashes Scilab:
<pre style="font-family:Monospaced;font-style:normal;font-size:14.0;"><span style="color:rgb(92,92,92);">y =</span> <span style="color:rgb(50,185,185);">linspace</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">1</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">256,256</span><span style="color:rgb(0,0,0);"></span><span style="color:rgb(74,85,219);">)
x = fft(y)
</span>
BTW, the example in the online help (<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.1.0/en_US/fft.html" moz-do-not-send="true">https://help.scilab.org/docs/6.1.0/en_US/fft.html</a>) also crashes Scilab:</pre>
<pre style="font-family:Monospaced;font-style:normal;font-size:14.0;"><span style="color:rgb(74,85,219);"></span>
<span style="color:rgb(74,85,219);"><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">sample_rate</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">=</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">1000</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">;</span>
<span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">t</span> <span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">=</span> <span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">0</span><span class="scilabspecial" style="font-style: normal; color: rgb(255, 170, 0);">:</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">1</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">/</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">sample_rate</span><span class="scilabspecial" style="font-style: normal; color: rgb(255, 170, 0);">:</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">0.6</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">;</span>
<span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">N</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">=</span><a class="scilabcommand" href="https://help.scilab.org/docs/6.1.0/en_US/size.html" style="color: rgb(50, 185, 185); text-decoration: underline; font-style: normal;" moz-do-not-send="true">size</a><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">(</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">t</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">,</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">'</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">*</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">'</span><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">)</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">;</span> <span class="scilabcomment" style="font-style: italic; color: rgb(1, 168, 1);">//number of samples</span>
<span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">s</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">=</span><a class="scilabcommand" href="https://help.scilab.org/docs/6.1.0/en_US/sin.html" style="color: rgb(50, 185, 185); text-decoration: underline; font-style: normal;" moz-do-not-send="true">sin</a><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">(</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">2</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabconstants" style="font-style: normal; color: rgb(218, 112, 214);">%pi</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">50</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">t</span><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">)</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">+</span><a class="scilabcommand" href="https://help.scilab.org/docs/6.1.0/en_US/sin.html" style="color: rgb(50, 185, 185); text-decoration: underline; font-style: normal;" moz-do-not-send="true">sin</a><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">(</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">2</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabconstants" style="font-style: normal; color: rgb(218, 112, 214);">%pi</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">70</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">*</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">t</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">+</span><span class="scilabconstants" style="font-style: normal; color: rgb(218, 112, 214);">%pi</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">/</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">4</span><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">)</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">+</span><a class="scilabcommand" href="https://help.scilab.org/docs/6.1.0/en_US/grand.html" style="color: rgb(50, 185, 185); text-decoration: underline; font-style: normal;" moz-do-not-send="true">grand</a><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">(</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">1</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">,</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">N</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">,</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">'</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">nor</span><span class="scilabstring" style="font-style: normal; color: rgb(188, 143, 143);">'</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">,</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">0</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">,</span><span class="scilabnumber" style="font-style: normal; color: rgb(188, 143, 143);">1</span><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">)</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">;</span>
<span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">y</span><span class="scilaboperator" style="font-style: normal; color: rgb(92, 92, 92);">=</span><a class="scilabcommand" href="https://help.scilab.org/docs/6.1.0/en_US/fft.html" style="color: rgb(50, 185, 185); text-decoration: underline; font-style: normal;" moz-do-not-send="true">fft</a><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">(</span><span class="scilabid" style="font-style: normal; color: rgb(0, 0, 0);">s</span><span class="scilabopenclose" style="font-style: normal; color: rgb(74, 85, 219);">)</span><span class="scilabdefault" style="font-style: normal; color: rgb(0, 0, 0);">;</span>
</span>
Cheers,
Claus</pre>
<pre style="font-family:Monospaced;font-style:normal;font-size:14.0;"><span style="color:rgb(74,85,219);"></span></pre>
</blockquote>
<p><br>
</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>