plot the signal in three ways
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
el 19 de Oct. de 2023
As this clearly looks like a homework assignment, show us what have you attempted yet.
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.
Respuestas (0)
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!