- 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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Sai Pavan
2023-9-28
编辑:Sai Pavan
2023-9-28
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!