- Matlab-Matrix Tutorial
- Matlab-Matrix - Home
- Matlab-Matrix - Introduction
- Matlab-Matrix - Environment Setup
- Matlab-Matrix - Create Matrix
- Matlab-Matrix - Working with Matrices
- Matlab-Matrix - Multiplication
- Matlab-Matrix - Addition
- Matlab-Matrix - Subtraction
- Matlab-Matrix - Matrix Determinant
- Matlab-Matrix - Inverse
- Matlab-Matrix - Trace
- Matlab-Matrix - Rank
- Matlab-Matrix - Transpose
- Matlab-Matrix - Deletion Row & Coloumn
- Matlab-Matrix Useful Resources
- Matlab Matrix - Quick Guide
- Matlab Matrix - Useful Resources
- Matlab Matrix - Discussion
Matlab-矩阵 - 秩
矩阵的秩是矩阵中线性独立列的数量。函数rank()有助于返回给定矩阵的排名。
例子
考虑以下使用矩阵的rank()函数的示例 -
a = [ 1 2 3; 2 3 4; 1 2 5] test = rank(a)
输出
执行代码时 MATLAB 中的输出如下 -
>> a = [ 1 2 3; 2 3 4; 1 2 5] test = rank(a) a = 1 2 3 2 3 4 1 2 5 test = 3 >>