How we can enter the following operators in MATLAB ?
2 次查看(过去 30 天)
显示 更早的评论
1- x(n)=δ(n)
2- δ(n-4)
3- 2^n u(n-3)
0 个评论
回答(1 个)
Walter Roberson
2018-4-27
For delta, see:
For u:
However, when people write in terms of u, they often mean the unit step function. To achieve the unit step function you need to use sympref to set the value of HeavisideAtOrigin according to your needs.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!