From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing Data points

 

I am trying to look at the graph patterns of average joint motion angles (X, Y, Z) from many trials of 13 subjects during a certain phase recored at sampling rate of 100 Hz.  This phase of each trial has different data points (For example, trial 1 has 67, trial 2 has 104, trial 3 has 74, trial 4 has 91, and so on).  Is there anyone can suggest any idea for those different data points of each trial from over hundreds tirals?  Or does anyone have idea that reduces all trials to a certain number of data points (like the lowest data points from all data) so that all trials have same data points after processing?

Thank you very much.

0 Kudos
Message 1 of 2
(2,413 Views)

you can use Decimate (single shot) vi present in signal processing - signal operation menu

 

decimate single shot.JPG

 

there is an funciton in matlab named 'reducem' which Reduce density of points in vector data. you can check the possibility of calling that func in mathscript labview. check the link

 

http://www.mathworks.com/help/map/ref/reducem.html

 

if they works for you then you can apply it on each of your trial data.

Message 2 of 2
(2,390 Views)