LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DOWN SAMPLING

Hi everyone

 

I want to downsample the data and then convolve it with match filter. Could someone help me with downsampling . I do not i should use resample or something else.

 

Thank you for your help

0 Kudos
Message 1 of 9
(4,713 Views)

Try the decimate VI, it optionally averages before downsampling. it's in signal processing->signal operation->decimate.

 

Good luck,

Danielle

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
0 Kudos
Message 2 of 9
(4,655 Views)

but decimation and downsampling are different things? should I use decimatefor sure.

 

 

0 Kudos
Message 3 of 9
(4,644 Views)

decimation is the process of taking one out of X samples. downsampling usually applies a low pass filter first, like a gaussian or similar. In this case, if you apply decimate with the average boolean TRUE, you apply an averaging low pass filter and then decimate. For most implementations this is good enough. For example, I have used this successfully to resize images without aliasing. What exactly is your use case?

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
Message 4 of 9
(4,637 Views)

I did the first one with upsampling, generate filter coefficent and convolution. 

but the second one , I have complex input waveform . 

0 Kudos
Message 5 of 9
(4,629 Views)

this is the block I should complete.

 

0 Kudos
Message 6 of 9
(4,619 Views)

I do not know, as I don't know what "complex input waveform" means. Sorry.

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
0 Kudos
Message 7 of 9
(4,611 Views)

our teacher said i can use decimate. just assume it is complex waveform input. how can i connect complex waveform to decimator?

0 Kudos
Message 8 of 9
(4,608 Views)

If I understand correctly, think about what data a waveform has, and how you can change it to two 1D arrays for X and Y data. you can then put them in the decimate function.

"Wisdom comes from experience. Experience is often a result of lack of wisdom.”
― Terry Pratchett
0 Kudos
Message 9 of 9
(4,602 Views)