- You can create an array for n and use array indexing to make the step function. Please refer to the below documentation to learn more about array indexing: https://www.mathworks.com/help/matlab/math/array-indexing.html
- You can use arithmetic operations to create the h and x discrete time signals. Please refer to the below documentation to convolve the two discrete time vectors: https://www.mathworks.com/help/matlab/ref/conv.html#:~:text=Create%20two%20vectors%20and%20convolve%20them.
- Please refer to the below documentation to learn how to plot the resulting discrete signal (y): https://www.mathworks.com/help/matlab/ref/plot.html
- A preferred alternative for plotting discrete time signals is “stem” plot. Please refer to the below documentation to learn more about stem plot: https://www.mathworks.com/help/matlab/ref/stem.html
Please help me the question about discrete time unit step function and convolution
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to make two discrete time functions and then calculate their convolution and plot it.
how do i do it?
h[n] = 0.8^n{u[n − 2] − u[n − 11]} and x[n] = 2{u[n + 2] − u[n − 10]}.
y[n]=(x[n])convolution(h[n])
I am stucked for a long time.Please help me.
0 commentaires
Réponses (1)
Sai Pavan
le 28 Sep 2023
Modifié(e) : Sai Pavan
le 28 Sep 2023
Hi Min-Da Yu,
I understand that you are trying to make two discrete time functions, convolve them and plot the output.
Hope it helps.
Regards,
Sai Pavan
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!