Computing the minimum polynomial of a matrix

We give the matlab code where one can compute effectively the minimum polynomial of a matrix.
36 Downloads
Updated 23 Sep 2023

View License

We give the matlab code with which one can compute effectivelly the minimum polynomial of a matrix. We have compared it with the integrated function minpoly and see that ours is much faster, in general.
Next, we use this code in order to compute the matrix f(A) for a given function matrix A and a function f. In many cases the resulting matrices of our functions are in better form than the corresponding integrated results because we have transformed complex numbers into their polar forms.

Cite As

Nikos Halidias (2026). Computing the minimum polynomial of a matrix (https://in.mathworks.com/matlabcentral/fileexchange/132518-computing-the-minimum-polynomial-of-a-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
3.1.2

A change on funmnr.

3.1.1

A change on the iszrazin function.

3.1.0

We have made minor changes.

3.0.1

We have modified a little the function minimumpoly

3.0.0

We have modify our functions in order to have better symbolic calculations.

2.5.0

We have the function isdrazin which verifies if a given matrix ad is the Drazin inverse of a given matrix a. Moreover, we have correct some other issues.

2.1.0

We make different computations when the matrix is real.

2.0.0

We have add the function matfun which computes the matrix f(A) for a given function f and a matrix A.

1.5.0

We have modified the function minimumpoly and add also some other functions.

1.0.0