Calq commands and keywords

Function

ones(rows, columns)

Definition

Returns the a matrix with the given number of rows and columns. Every element of this matrix has the value one.

Example

  ones(3,3)
  1 1 1
  1 1 1
  1 1 1

See also

length. size. eye. zeros. setsize.


What is Calq?
Latest version of Calq
Digital Wave Systems Lab homepage