LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Amplitude and Phase Spectrum

I have data in file and i need calculate amplitude and phase spectrum on 2 different XY Graph. Number of samples is 512 and frequency sampling is 51.2 kHz. X-Axis represents frequency. Now i have something like this.

 

0 Kudos
Message 1 of 4
(3,124 Views)

So, what is the problem? What you posted does calculate a spectrum. A small data file would be helpful also so we coud see your data.

 

Lynn

0 Kudos
Message 2 of 4
(3,115 Views)

I dont know how connect this. Adding a data file.

0 Kudos
Message 3 of 4
(3,100 Views)

Here are two ways to scale the graphs.  Both require manual entry of the sampling rate.  Since your data file contains only one column of data, using the transpose? input and first row output of Read Delimited Spreadsheet.vi eliminates the need for Index Array.

 

Lynn

0 Kudos
Message 4 of 4
(3,070 Views)