Hello,
Le 08/05/2014 20:34, [email protected] 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
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users