Q(1) Find an Octave command to make a matrix of 256 x 1 size
Ans. ones(256,1)
Q(2) Find an Octave command to make a matrix of the integers 0 through 255 in a single row.
Ans. M=[0:1:255]
Q(3). Find an Octave command to make a column of integers 0 through 255.
Ans.M=[0:1:255]' ( transpose of the matrix M in Q 2)
Saturday, May 31, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment