How we can enter the following operators in MATLAB ?

2 次查看(过去 30 天)
1- x(n)=δ(n)
2- δ(n-4)
3- 2^n u(n-3)

回答(1 个)

Walter Roberson
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by