LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Matlab "decimate" function

Is there a vi out there that replicates the decimate.m function in Labview. This function basically down samples a waveform using a low pass filter.
I am also looking for a upsampling function that does exactly opposite of the Matlab "decimate" function. In Matlab it is under interp.m
0 Kudos
Message 1 of 5
(4,470 Views)
In LabVIEW7 there are some new vi's which will do what you need. One is an Express vi called "Align and resample" and another is "resample waveforms". They can be used to both interpolate and decimate according to the sampling interval set.
0 Kudos
Message 2 of 5
(4,470 Views)
See also the link
http://zone.ni.com/devzone/conceptd.nsf/webmain/0AA71742871067A686256D55004B7A23?opendocument
titled "resample waveforms with one simple Express vi"
0 Kudos
Message 3 of 5
(4,470 Views)
Hello,

Thank you for contacting National Instruments. You can easily downsample a waveform array and apply low pass filtering using a simple combination of VIs.

Interpolation is also fairly commonly used and quick to implement in LabVIEW. Please take a look at my attached examples for more information.

I hope this helps! Please let me know if there is anything else I can do. Have a great day!

Liz F
National Instruments
0 Kudos
Message 4 of 5
(4,470 Views)
I am not sure if this vi gives me what I am looking for. This program generates a sine waveform twice at different sample rates and simply decimates the 2 array. Also everything is in "waveform" format.
I have a 1d array that i would like to upsample and downsample.
0 Kudos
Message 5 of 5
(4,470 Views)