@columnextract |

Syntax: @columnextract(m, n)

Argument 1: matrix or sym, m

Argument 2: integer, n

Return: vector

Extract a vector from column n of the matrix object m, where m is a matrix or sym. Example:

vector v1 = @columnextract(m1,3)

Note that while you may extract the first column of a column vector, or any column of a row vector, the command is more easily executed using simple element or vector assignment in these cases.

See also @rowextract.