Calq commands and keywords

Function

transpose(a)

Definition

Returns the transpose of the matrix argument. The returned matrix has the same elements as the parameter, except that the rows and columns are switched.

Example

  a = [1, 2, 3; 4, 5, 6];
  transpose(a)
  1 4
  2 5
  3 6

See also

length. size. ones. zeros. setsize. .' .


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