Borrar filtros
Borrar filtros

Design a 7-point running average filter

4 visualizaciones (últimos 30 días)
Arsalan Amin
Arsalan Amin el 29 de En. de 2022
Comentada: Image Analyst el 29 de En. de 2022
DSP Question :-
Question description is provided below.
Required file (lab12_data.mat) is attached.
Kindly help me out with this question, and use proper commenting, to explain your matlab code effectively.
The part that I've done so far is given below:
load('lab12_data.mat')
b = 1/7*ones(7,1);
a = 1;
output = filter(b,a,simple);
plot(output);
  1 comentario
Image Analyst
Image Analyst el 29 de En. de 2022
I don't see any calls to subplot(). Why not? It tells you to use it. I don't see delay introduced in b, where almost half of it is zero. Why are you not doing the rest of the problem?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 29 de En. de 2022
Editada: Image Analyst el 29 de En. de 2022
Here's some help:
And a hint: they want you to use the subplot(), plot(), filter() and filter2() functions. See the documentation on those for example code. And there is also an immse() function to computer mean squared error.

Categorías

Más información sobre Matched Filter and Ambiguity Function en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by