Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to filter a signal..plz help me..

1 visualización (últimos 30 días)
Tung
Tung el 11 de Abr. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi all, I have a question and I need your help.. I make a file that:
%----------------------------------------------------------
fs = 100;
t = 0:1/fs:1;
x = sin(2*pi*t*3)+.25*sin(2*pi*t*40);
b = ones(1,10)/10; % 10 point averaging filter
y = filtfilt(b,1,x); % Noncausal filtering
yy = filter(b,1,x); % Normal filtering
plot(t,x,t,y,'--',t,yy,':')
%-----------------------------------------------------------
It will be Ok if "fs" is 100.When "fs" is 10000.It isn't smooth with "y" and "yy"...What do I have to do? Plz help me... thank all..
  1 comentario
Jan
Jan el 11 de Abr. de 2013
What do you have to do to achieve what?
You have examined the behaviour of two filter methods to two different signals and see a difference. But how could we suggest a change without knowing, what you want to change? Where is the problem?

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by