forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 9:56 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: FFT in Delphi
PostPosted: Mon Oct 18, 2010 6:49 pm 
Offline

Joined: Mon Oct 18, 2010 6:42 pm
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: FFT in Delphi
PostPosted: Mon Oct 18, 2010 7:29 pm 
Offline

Joined: Mon Oct 18, 2010 6:42 pm
Posts: 4
Also can some help me to get imagine and real part of FFT for one dimensional data series F(T) where T - time.
Thanks


Top
 Profile  
 
 Post subject: Re: FFT in Delphi
PostPosted: Tue Oct 19, 2010 1:41 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: FFT in Delphi
PostPosted: Tue Oct 19, 2010 6:04 pm 
Offline

Joined: Mon Oct 18, 2010 6:42 pm
Posts: 4
Thanks for your answer ! But how get complex and real part saparately . ?
cheers


Top
 Profile  
 
 Post subject: Re: FFT in Delphi
PostPosted: Tue Oct 19, 2010 6:31 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
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.


Top
 Profile  
 
 Post subject: Re: FFT in Delphi
PostPosted: Tue Oct 19, 2010 6:45 pm 
Offline

Joined: Mon Oct 18, 2010 6:42 pm
Posts: 4
thankyou very much !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group