Computational Complexity of minpoly()

What is the computational complexity of matlab's minpoly() function that finds the minimal polynomial of a matrix? Is it slower than charpoly()?

Risposte (1)

Kajal Bansala
Kajal Bansala il 10 Mar 2021

0 voti

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

Categorie

Prodotti

Release

R2018b

Risposto:

il 10 Mar 2021

Community Treasure Hunt

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

Start Hunting!

Translated by