matlab定义数组函数可以参照以下编程:
如t1=0:0.001/16:0.002;
y1=sin(2000*pi*t1);
y2=cos(2000*pi*t1);
y3=sin(2000*pi*t1)+cos(2000*pi*t1);
y4=sin(2000*pi*t1).*cos(2000*pi*t1);
y=[y1; y2; y3; y4]
(本身y1/y2/y3/y4是行向量)