Method on @sym: rank (A)

Rank of a symbolic matrix.

Examples:

A = sym([1 1; 2 0]);
rank (A)
  ⇒ ans =  2

A = sym([1 2; 1 2]);
rank (A)
  ⇒ ans =  1

See also: @sym/cond, @sym/null, @sym/orth.

Package: symbolic