LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting the Autocorrelation Function from a Signal

Hi everyone,

 

-Im trying to plot the Autocorrelation function from a random signal (see Figure1), which has been sampled at 200 KS/s and presents the duration of approximately 15 s. For the evaluation of the Autocorrelation of such a signal, I´m using the "AutoCorrelation VI" in Labview 2010. When I plot the signal´s Autocorrelation with a "waveform graph", what I get is a triangular-like graph (see Figure 2), which does not match the form of a regular Autocorrelation graph for a random signal (see Figure 3).

-How can I plot the signal´s Autocorrelation, as represented on Figure 3, (where the x-axis shows the time delay) ?

 

any help would be highly appreciated,

 

best regards!

Download All
0 Kudos
Message 1 of 7
(6,092 Views)

Do figs 2 and 3 show the result of processing the same input data?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 7
(6,075 Views)

Can u send an example of your vi  ? With the data you are trying to plot ? 

 

To plot a graph with the X as time, you need to add information to the graph like delta t, (interval between the samples) that you do using a property node. If you can post your vi, it will be easier to help. 

 

ricardo

RKO
0 Kudos
Message 3 of 7
(6,061 Views)

Hi Mike,

 

-Thank you for your prompt reply.

-Figure 2 shows the Autocorrelation´s result based on my input data. The input data is ploted as detached on Figure 1. Figure 3 is just an example (from Labview Help) which I´m trying to plot with my VI and also matches a regular Autocorrelation function.

 

thank you in advance,
 
best regards!
0 Kudos
Message 4 of 7
(6,034 Views)

Hi Ricardo,

 

-Thank you for the hints and your prompt reply.

-Attached to this reply, I´m sending you an example of my VI.

-I´ll try to implement the proposed solution you mentioned. I let you know about it.

 

thank you in advance,

 

best regards!

 

 

0 Kudos
Message 5 of 7
(6,030 Views)

Your figure 2 shows the  autocorrelation of a signal with a non-zero mean.

 

Lynn

0 Kudos
Message 6 of 7
(6,023 Views)

Hi Lynn,

 

-Thank you for this tip and your VI. It makes sense.

 

best regards!

0 Kudos
Message 7 of 7
(5,989 Views)