LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Max and Mins of Graphs

I have several lengthy text files that I am reading into LabVIEW, graphing, and doing some analysis with.


One thing I seem to be stuck on is finding maximums and minimums.

The data is cyclic, and I would like to find the x and y values of the relative maxiumums and minimums.

 

How would I do this? (I attached an example of what the data looks like) 

 

Graph 

Message Edited by Cory K on 10-09-2008 11:03 AM
Message Edited by Cory K on 10-09-2008 11:04 AM
Cory K
0 Kudos
Message 1 of 4
(2,497 Views)

In case someone asks what format the data is stored in LabVIEW,

I have 2 1-D arrays, 1 for x values and 1 for y values.

The arrays store the data as single (or double, i dont remember off hand) precision  numbers

Cory K
0 Kudos
Message 2 of 4
(2,489 Views)

Hi Cory,

 

Can you briefly describe what you mean by relative maximum and minimum?

 

Thanks,

 

Dan Richards

Dan Richards
Certified LabVIEW Developer
0 Kudos
Message 3 of 4
(2,452 Views)

Hi Cory,

 

For the sake of helping the community, I just wanted to link the other issue here.

 

Take care,

 

Dan Richards

Dan Richards
Certified LabVIEW Developer
0 Kudos
Message 4 of 4
(2,432 Views)