How to plot this equation of unit step function

1 次查看(过去 30 天)
I have plotted this equation by hand i just want to see how matlab plots it
y[n]= u[n-1]-u[n-2]-u[n-3]+u[n-4]
plz tell me how to write its code

回答(1 个)

Walter Roberson
Walter Roberson 2011-10-11
It will not look like much of anything, seeing as the left side deals exclusively with "y" and the right side deals exclusively with "u".
  1 个评论
Walter Roberson
Walter Roberson 2011-10-11
You will need 3 given values in order to be able to plot this; e.g., u[0], u[1], u[2]

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Graphics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by