How to express the sequence as a linear combination of unit step sequences?
3 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Sarthak
2023-3-21
Hi Tuce,
You can simply use the stairs function in MATLAB to express your sequence.
x = [-4, 5, 1, -2, -3, 0, 2];
n = -3:3;
stairs(n,x)
xlabel('n')
ylabel('x[n], y[n]')
You can also refer to the following documentation for your reference.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!