フィルターのクリア

Desiging a very simple filter (Very Basic Sort of)???

2 ビュー (過去 30 日間)
Arun Sharma
Arun Sharma 2012 年 7 月 8 日
I want to generate a very simple Filter which removes the noise at-least little bit from a signal (Sinusoidal of 100Hz Frequency).
I don't want to use the complex filter's.
this is my Signal
fSampling = 10000; %Sampling Frequency
tSampling = 1/fSampling; %Sampling Time
L = 10000; %Length of Signal
t = (0:L-1)*tSampling; %Time Vector
F = 100; %Frequency of Signal
%%Signal without noise
xsig = sin(2*pi*F*t);
I calculate its Fourier Transform as Follow:-
NFFT = 2^nextpow2(L);
Xsig = fft(xsig,NFFT)/L;
f1 = fSampling/2*(linspace(0,1,NFFT/2+1));
plot(f1,2*abs(Xsig(1:NFFT/2+1)),'r');
grid on
axis([-50 500 0 1.1])
title('\itSingle-Sided Amplitude Spectrum of xsig(t)')
xlabel('\itFrequency (Hz) \rightarrow')
ylabel('|Xsig(f)| \rightarrow');
Then i add a Little bit of Noise into it as follow:-
xnoise = xsig + 0.45*randn(size(t));
Then calculates its Fourier Transform again...
Now i want to remove the noise from this signal and want to retrieve a pure sinusoidal signal..
Pls Some Body help me....

採用された回答

Star Strider
Star Strider 2012 年 7 月 8 日
A bandpass filter would work. Be sure to use [z, p, k] and SOS syntax.

その他の回答 (2 件)

Arun Sharma
Arun Sharma 2012 年 7 月 9 日
Thanks for your help... Can you pls give me an example to do so...
I searched on internet and MATLAB help got some advance topic....
pls tell me how to make a Bandpass filter...
Thanks in Advance

Arun Sharma
Arun Sharma 2012 年 7 月 9 日
Is There anyone who can tell me.. how to make a simple Bandpass Filter..
Pls help its very urgent

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by