Azzera filtri
Azzera filtri

Computational Complexity of minpoly()

3 visualizzazioni (ultimi 30 giorni)
Panagiotis Misiakos
Panagiotis Misiakos il 2 Ott 2019
Risposto: Kajal Bansala il 10 Mar 2021
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
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

Scopri di più su Polynomials in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by