Subject: 提示:有關作業二的第二題

[ Follow Ups ] [ Post Followup ] [ WWW Board ]

Posted by Roger Jang on March 11, 1997 at 10:44:42:

可用下列命令產生1和-1交錯的向量t:
n = 11; %向量的元素個數
t = ones(1, n);
t(2:2:n) = -t(2:2:n);


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ WWW Board ] [ FAQ ]