08-07-2012 01:56 AM
hello ,
this matlab code for wav file read and filter them
[x,fs]=wavread('apple11.wav');
subplot(121);plot(x);title('x waveform 1');
xx=double(x);
y=filter([1 -0.9495],1,xx);
i have xx array in labview.
now i want to filter them same as in matlab ,,
anyone know ... how can do this ?
please help me .. 🙂
Solved! Go to Solution.
08-07-2012 02:51 AM
Hi Nirav,
Try Signal Processing -> Filters palette. Also you could try using MatScript node (MathScript module required) for the Matlab commands implemented in LabVIEW directly.
08-07-2012 02:55 AM
Matlab help tells you:
y = filter(b,a,X) filters the data in vector X with the filter described by numerator coefficient vector b and denominator coefficient vector a. If a(1) is not equal to 1, filter normalizes the filter coefficients by a(1). If a(1) equals 0, filter returns an error.
now have a look at the LabVIEW IIR digital filters
08-07-2012 04:53 AM
Thanks a lot sir 🙂 🙂
its very helpful to me ... 🙂 🙂
02-27-2013 03:09 PM
I'm not sure what's going on here, do you have you forward coefficient just set to one?
Adam