As an addendum, this remains untrue even if you ignore floating-point issues and test (mathematically, rather than programmatically) whether rcond(A) is equal to 0. The matrix A=[1 0; 0 0] has rcond(A) equal to zero, but it is not nilpotent.
Group
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
How is this in general true?
It isn't. For instance, rcond(hilb(10)) is less than 1e-12, but hilb(10) is not nilpotent.
As an addendum, this remains untrue even if you ignore floating-point issues and test (mathematically, rather than programmatically) whether rcond(A) is equal to 0. The matrix A=[1 0; 0 0] has rcond(A) equal to zero, but it is not nilpotent.