How to write delta in matlab?

131 views (last 30 days)
SZ N
SZ N on 16 Oct 2020
Commented: SZ N on 16 Oct 2020
x2[n]= 2delta[n] - u[n - 1] + u[n - 3]
How to I type this in matlab? Like what is the syntax for delta in matlab?
  2 Comments
SZ N
SZ N on 16 Oct 2020
Like in this question. How do i tyoe it in matlab? It is givig me an error while typing delta.
The error:

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 16 Oct 2020

Community Treasure Hunt

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

Start Hunting!

Translated by