How do i code y[n]?

Respuestas (1)

Image Analyst
Image Analyst el 28 de Nov. de 2021

0 votos

Use parentheses instead of brackets:
n = 801; % n must be at least this big.
y(n) = x(n) + 0.4 * x(n-400) + 0.4 * x(n-800);

3 comentarios

Image Analyst
Image Analyst el 28 de Nov. de 2021
If you want convolution, use conv().
Semih Erken
Semih Erken el 29 de Nov. de 2021
how to convolve this without conv function
Image Analyst
Image Analyst el 29 de Nov. de 2021
Then I guess it must be your homework assignment. If you're not allowed to use conv(), you'll have to use a for loop.

Iniciar sesión para comentar.

Productos

Versión

R2021b

Etiquetas

Preguntada:

el 28 de Nov. de 2021

Comentada:

el 29 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by