dengwei252
2009-03-19, 21:00
clear all;
t1=-0.5:0.001:1;
K=3;
n1=length(t1);
u=zeros(1,n1);
t2=-0.5:0.001:0;
n2=length(t2);
u(n2)=K;
plot(t1,u);
axis([-0.5 1 0 3.2 ])
上面函数中的u(n2)是什么意思
t1=-0.5:0.001:1;
K=3;
n1=length(t1);
u=zeros(1,n1);
t2=-0.5:0.001:0;
n2=length(t2);
u(n2)=K;
plot(t1,u);
axis([-0.5 1 0 3.2 ])
上面函数中的u(n2)是什么意思