
InputOutputModel/blkdiag
uss/blkdiag
umat/blkdiag
ufrd/blkdiag
ndlft/blkdiag
atom/blkdiag
Reference page in Help browser
doc blkdiag
<tril> - Extract lower triangular part.
TRIL Extract lower triangular part.
TRIL(X) is the lower triangular part of X.
TRIL(X,K) is the elements on and below the K-th diagonal
of X . K = 0 is the main diagonal, K > 0 is above the
main diagonal and K < 0 is below the main diagonal.
See also triu, diag.
Overloaded methods:
gf/tril
codistributed/tril
Reference page in Help browser
doc tril
<triu> - Extract upper triangular part.
TRIU Extract upper triangular part.
TRIU(X) is the upper triangular part of X.
TRIU(X,K) is the elements on and above the K-th diagonal of
X. K = 0 is the main diagonal, K > 0 is above the main
diagonal and K < 0 is below the main diagonal.
See also tril, diag.
Overloaded methods:
gf/triu
codistributed/triu
Reference page in Help browser
doc triu
<fliplr> - Flip matrix in left/right direction.
FLIPLR Flip matrix in left/right direction.
FLIPLR(X) returns X with row preserved and columns flipped
in the left/right direction.
X = 1 2 3 becomes 3 2 1
4 5 6 6 5 4
Class support for input X:
float: double, single
See also flipud, rot90, flipdim.
Overloaded methods:
categorical/fliplr
uss/fliplr
umat/fliplr
ndlft/fliplr
Reference page in Help browser
doc fliplr
<flipud> - Flip matrix in up/down direction.
FLIPUD Flip matrix in up/down direction.
FLIPUD(X) returns X with columns preserved and rows flipped
in the up/down direction. For example,
X = 1 4 becomes 3 6
2 5 2 5
3 6 1 4
Class support for input X:
float: double, single
See also fliplr, rot90, flipdim.
Overloaded methods:
categorical/flipud
fints/flipud
uss/flipud
umat/flipud
ndlft/flipud
Reference page in Help browser
doc flipud
<flipdim> - Flip matrix along specified dimension.
FLIPDIM Flip matrix along specified dimension.
FLIPDIM(X,DIM) returns X with dimension DIM flipped.
For example, FLIPDIM(X,1) where
X = 1 4 produces 3 6
2 5 2 5
3 6 1 4
Class support for input X:
float: double, single
See also fliplr, flipud, rot90, permute.
Overloaded methods:
categorical/flipdim
Reference page in Help browser
doc flipdim
<rot90> - Rotate matrix 90 degrees.
ROT90 Rotate matrix 90 degrees.
ROT90(A) is the 90 degree counterclockwise rotation of matrix A.
ROT90(A,K) is the K*90 degree rotation of A, K = +-1,+-2,...
Example,
A = [1 2 3 B = rot90(A) = [ 3 6
4 5 6 ] 2 5
1 4 ]
Class support for input A:
float: double, single
See also flipud, fliplr, flipdim.
Overloaded methods:
categorical/rot90
Reference page in Help browser
doc rot90
<: > - Regularly spaced vector and index into matrix.
Operators and special characters.
Arithmetic operators.
plus - Plus +
uplus - Unary plus +
minus - Minus -
uminus - Unary minus -
mtimes - Matrix multiply *
times - Array multiply .*
mpower - Matrix power ^
power - Array power .^
mldivide - Backslash or left matrix divide \
mrdivide - Slash or right matrix divide /
ldivide - Left array divide .\
rdivide - Right array divide ./