Friday, August 7, 2015

ones() function



X = ones(n) 

X = ones(m, n)

·         ones(n) returns n by n matrix of ones

·         ones(m, n) returns a m by n matrix of ones


No comments:

Post a Comment