Command Reference : Matrix Language Reference
Syntax: @norm(o, n)
Argument 1: matrix, vector, rowvector, sym, scalar, or series, o
Argument 2: (optional) integer, n
Return: scalar
Returns the value of the norm of any matrix object, o. Possible choices for the norm type n include “–1” for the infinity norm, “0” for the Frobenius norm, and an integer “n” for the norm. If no norm type is provided, this function returns the infinity norm.
scalar sc1 = @norm(m1)
scalar sc2 = @norm(v1,1)