Computational Complexity of minpoly()

1 vue (au cours des 30 derniers jours)
Panagiotis Misiakos
Panagiotis Misiakos le 2 Oct 2019
What is the computational complexity of matlab's minpoly() function that finds the minimal polynomial of a matrix? Is it slower than charpoly()?

Réponses (1)

Kajal Bansala
Kajal Bansala le 10 Mar 2021
Hello Panagiotis,
There is no direct way to calculate the computational complexity in MATLAB. However, you can check the time takn by two functions by using:
>>tic
//code (or function name)
>>toc

Catégories

En savoir plus sur Polynomials dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by