DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Plotting Spectrum

 
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C#
View previous topic :: View next topic  
Author Message
siddharth



Joined: 17 Nov 2010
Posts: 2

PostPosted: Wed Nov 17, 2010 1:23 am    Post subject: Plotting Spectrum Reply with quote

Hi Guys,
I am new to Dplot.
I would like to know if I can use the FFT function in Dplot to plot the spectrum.
My input is 2D csv file.
If yes, please let me know how to plot?

Regards
Sid
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Nov 17, 2010 10:22 am    Post subject: Reply with quote

Sorry, but you'll have to be more specific. What does your input represent? And what sort of spectrum are you looking for?
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
siddharth



Joined: 17 Nov 2010
Posts: 2

PostPosted: Thu Nov 18, 2010 5:42 am    Post subject: Reply with quote

Hi,
Input is time domain data stored in .csv file (2 columns) .
1st column is real and 2nd column is imaginary data.
Number of samples is around 200K.

Regards
Sid
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Thu Nov 18, 2010 10:39 am    Post subject: Reply with quote

DPlot doesn't work directly with imaginary numbers, other than temporary storage when using FFT.

What you can do, though, is first generate a third curve that contains the magnitudes of your complex numbers, with Generate>Y=f(X,Y1,Y2,...) and

Y=sqrt(Y1^2+Y2^2)

and then run the FFT on that third curve.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C# All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group