Calq commands and keywords

Function

setsize(array, rows, columns)

Definition

Sets the size (number of elements in rows and columns) of the result for the values passed in the first argument.

Example

  a = 1:9;
  b = setsize(a, 3, 3);
  % b is now a 3x3 matrix, whereas a is 1x9

See also

length. size. reshape (which does the same thing).


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