Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

filtering - sexy...@hotmail.it - Jan 15 7:45:11 2007



Hi tu you all!
I have a problem of distortion while filtering.
I have a signal with bandwith of 10 KHz centered on a carrier frequency 
of 30 KHz without noise.
I'm trying filtering that with a butterworth filter of signal bandwith of 40 KHz centered on 30
KHz using

[Bf1,Af1]=butter(5,[wn1 wn2]);
y=filtfilt(Bf1,Af1,x);

But if i try to compare x and y they are different even if the filter should be non distorting
for the signal.

If i consider 10*log10(mean(x.^2)/(mean((x-y).^2)) i find something like 15 dB and the errors
are concentrated on the firsts and lasts samples.

Why?
How can I create a not-so-distorting filter?

thanks,

Fortuna


(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )