Products & Services Solutions Academia Support User Community Company

Learn more about Symbolic Math Toolbox   

rank - Compute the rank of symbolic matrix

Syntax

rank(A)

Description

rank(A) computes the rank of the symbolic matrix A.

Examples

Compute the rank of the following numeric matrix:

B = magic(4);
rank(B)

The result is:

ans =
     3
 

Compute the rank of the following symbolic matrix:

syms a b c d
A = [a b;c d];
rank(A)

The result is:

ans =
2

See Also

eig | null | rref | size

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS