Filter löschen
Filter löschen

Computational Complexity of minpoly()

3 Ansichten (letzte 30 Tage)
Panagiotis Misiakos
Panagiotis Misiakos am 2 Okt. 2019
Beantwortet: Kajal Bansala am 10 Mär. 2021
What is the computational complexity of matlab's minpoly() function that finds the minimal polynomial of a matrix? Is it slower than charpoly()?

Antworten (1)

Kajal Bansala
Kajal Bansala am 10 Mär. 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

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by