[Scilab-users] FFT doubt

Samuel Gougeon sgougeon at free.fr
Fri May 9 10:44:51 CEST 2014


Hello,

Le 08/05/2014 20:34, andre.regis13 at gmail.com a écrit :
> Dear colleagues,
>
> I have two functions f1(x) and f2(x). Using the following formula:
>
> to calculate the results, get: 5.125[units].
> I tried to calculate separately by F1=fft(f1) , F2=fft(f2) and then 
> multiply stems one by one and adding the results. I found two problems:
This is a question about numerical computing rather than Scilab itself.
Anyway, why do you use some FFT instead of some straightforward 
integration function (such as intg()) ?
FFT would be useful whether the expected result would be e.g. the 
cross-correlation function of your f1() and f2() ;
but it is not the case : no lag appears in the integrand between 
arguments of f1 and f2...

HTH
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140509/5caf30e7/attachment.htm>


More information about the users mailing list