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)
Mostrar comentarios más antiguos
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
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.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!