sawtooth signal and moving averege filter
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all!
I have a signal, noisy sawtooth signal. see (m-file).
I want to smooth and averege this signal with moving averege filter (maybe also kalman filter).
I did it in may program. But i have a problem: In the time where the step happens, i need no values i need just the step (from max to min).
How it could be done in matlab
% code
t=(1:0.01:10)'; y=sawtooth(t,1); noise = 0.8*rand(901,1); y1 = y+noise; % kal=kalmanf(y1*z) ma=conv(y1,ones(5,1)/5);
plot(y1) hold on stem(ma,'r')
end
0 comentarios
Respuestas (1)
Sachin Ganjare
el 30 de Oct. de 2012
Refer below links, if not already gone through it:
Hope it helps!!
0 comentarios
Ver también
Categorías
Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!