Main Content

# 矩阵运算

## 模块

 Array Processing Subsystem Apply algorithm to each element of a matrix (自 R2024a 起) Create Diagonal Matrix Create square diagonal matrix from diagonal elements Cross Product Cross product of two vectors (自 R2021b 起) Expand Scalar Create matrix from scalar using scalar expansion (自 R2024a 起) Extract Diagonal Extract main diagonal of input matrix Hermitian Transpose 计算矩阵的埃尔米特转置 (自 R2021b 起) Identity Matrix Generate matrix with ones on main diagonal and ground values elsewhere (自 R2021b 起) IsHermitian Check if matrix is Hermitian or skew-Hermitian (自 R2022a 起) IsSymmetric Check if matrix is symmetric or skew-symmetric (自 R2021b 起) IsTriangular Check if matrix is upper or lower triangular (自 R2021b 起) Matrix Concatenate Concatenate input matrices of same data type for iterative processing Matrix Square Compute square of input matrix Neighborhood Processing Subsystem Create algorithm that follows the neighborhood pattern (自 R2022b 起) Permute Matrix Reorder matrix rows or columns Pixel Processing Subsystem Create algorithm that converts multichannel image data to single-channel (自 R2024a 起) Product, Matrix Multiply 标量和非标量的乘除运算或者矩阵的乘法和逆运算 Submatrix Select subset of elements (submatrix) from matrix input Transpose 计算矩阵转置 (自 R2021b 起)