フィルターのクリア

problem with filtering

1 回表示 (過去 30 日間)
rajashekar
rajashekar 2012 年 2 月 3 日
編集済み: Matt J 2013 年 9 月 28 日
HI, i’m working on a code that uses square wave as a message signal at 1Mhz and carrier of 5Mhz. i’m using product(coherent) demodulation technique for demodulation using butterworth filter. my message amplitude is 0.25v and it is a combination of a dc of amplitude 3.5v and periodic square at 0.25v. but i can get my square wave at the output? can u help me with this?
I_Rx=(I_mod).*(I_ch);
Fc=4e6;
Fs=32e6;
%f = [0 0.25 0.25 1]; m = [1 1 0 0];
wn=(2.*Fc)./Fs;disp(wn);
%h=butter_lpf;
[b,a]=butter(8, wn);
z=filter(b,a,I_Rx);
figure; plot(t,z);
Here I_Rx is my product signal,I_mod is my modulated signal,I_ch is the carrier i’m multiplying for the product demodulation but i cant low pass filter it to get back my square wave? i used carrrier of 5Mhz and my message is a 1Mhz triangle of 0.25v on a 3.5v dc. so i used a low pass cut off at 4Mhz(2*Fc). my message signal is a combination of ac and dc signal.
thanks
  4 件のコメント
Walter Roberson
Walter Roberson 2012 年 2 月 3 日
No idea here, and I don't have that toolbox.
rajashekar
rajashekar 2012 年 2 月 4 日
ok

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital Filter Analysis についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by