forum.alglib.net http://forum.alglib.net/ |
|
FFT in Delphi http://forum.alglib.net/viewtopic.php?f=2&t=82 |
Page 1 of 1 |
Author: | soleiman [ Mon Oct 18, 2010 6:49 pm ] |
Post subject: | FFT in Delphi |
Hello All! I'm new user od alglib. I want to use FFT from alglib in my delphi 7 project. Which modules should i include to my project ? if some can share an working example of using FFT i'll be very happy. Thanks in advance. -- best regards Suleiman |
Author: | soleiman [ Mon Oct 18, 2010 7:29 pm ] |
Post subject: | Re: FFT in Delphi |
Also can some help me to get imagine and real part of FFT for one dimensional data series F(T) where T - time. Thanks |
Author: | Sergey.Bochkanov [ Tue Oct 19, 2010 1:41 pm ] |
Post subject: | Re: FFT in Delphi |
There is no Delphi examples for FFT yet. As for dependencies, you can look at "uses Math, Sysutils, Ap, ftbase;" at the beginning of fft.pas It references all units it needs - ap.pas, ftbase.pas and two system units from Delphi standard library. As for your task, you can use FFTR1D. |
Author: | soleiman [ Tue Oct 19, 2010 6:04 pm ] |
Post subject: | Re: FFT in Delphi |
Thanks for your answer ! But how get complex and real part saparately . ? cheers |
Author: | Sergey.Bochkanov [ Tue Oct 19, 2010 6:31 pm ] |
Post subject: | Re: FFT in Delphi |
FFTR1D returns them in one array, real part in arr[idx].x, imaginary part in arr[idx].y If you want to separate them into two distinct arrays, you can make it yourself. Just one pass through array - and that's all. |
Author: | soleiman [ Tue Oct 19, 2010 6:45 pm ] |
Post subject: | Re: FFT in Delphi |
thankyou very much ! |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |