Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图弄清楚如何绘制离散函数 y [ n ] = x [ n -5] / (1 + x [ n ])。 任何帮助找出正确的语法表示赞赏。
因为你的 eq 相当于:
y[n+5] = (x[n])/(1+x[n+5])
我将在某个范围内绘制后者(如果需要更改):
lower_limit=-10 upper_limit=10 N=100; x=linspace(lower_limit,upper_limit,N); y=x(1:end-5)./(1-x(6:end)); plot(x(6:end),y)