Check if matrix A is nilpotent.
May I ask what is the definition of Nilpotent matrix. I suppose that is A^k =0 for some k? If I am right, then 0 must be an eigenvalue of A, then there is some issues for the test problems.
Twins in a Window
What is the distance from point P(x,y) to the line Ax + By + C = 0?
Generate N equally spaced intervals between -L and L
Determine the number of odd integers in a vector
Sum of series II
Sum of series III
Sum of series I
Sum of series VII
Sum of series IV
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office