摘要: onesCreate array of all ones Y = ones(n)Y = ones(m,n)Y = ones([m n])Y = ones(m,n,p,...)Y = ones([m n p ...]) Y = ones(n) returns an n-by-n matrix of 1s. An error message appears if n is not a scalar.Y = ones(m,n) or Y = ones([m n]) returns an m-by-n matrix of ones.Y = ones(m,n,p,...) or Y = ones([m 阅读全文
posted @ 2011-03-25 21:35 Keosu 阅读(667) 评论(0) 推荐(0) 编辑