Borrar filtros
Borrar filtros

plot the signal in three ways

1 visualización (últimos 30 días)
Mohammed Alqahtany
Mohammed Alqahtany el 19 de Oct. de 2023
Comentada: Sam Chak el 19 de Oct. de 2023
Consider the following signal: 𝑥[𝑛] = {−1,0,1,2,3,4} , 0 ≤ 𝑛 ≤ 5.
1. Plot the signal 𝑥[𝑛].
2. Write a complete code to flip (fold) the signal 𝑥[𝑛] with respect to y-axis (vertical axis) so that we obtain 𝑥[−𝑛].
3. Add the original signal to the flipped signal, that is: 𝑥[𝑛] + 𝑥[−𝑛] and plot them in the same plot; the resultant plot should have even symmetry. 4. Subtract the flipped signal from the original signal, that is: 𝑥[𝑛] − 𝑥[−𝑛] and plot them in the same plot; the resultant plot should have odd symmetry.
Hint: use the MATLAB function fliplr to flip the signal with respect to y-axis (vertical axis).
  2 comentarios
Dyuman Joshi
Dyuman Joshi el 19 de Oct. de 2023
As this clearly looks like a homework assignment, show us what have you attempted yet.
Sam Chak
Sam Chak el 19 de Oct. de 2023
Hey @Mohammed Alqahtany, have you provided the necessary information in the following link? This will allow me to start fixing the mistakes in your code.
After thatm we can come back to help you addressing this question. I'm serious.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

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

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by