Computational Complexity of minpoly()

2 次查看(过去 30 天)
What is the computational complexity of matlab's minpoly() function that finds the minimal polynomial of a matrix? Is it slower than charpoly()?

回答(1 个)

Kajal Bansala
Kajal Bansala 2021-3-10
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

类别

Help CenterFile Exchange 中查找有关 Polynomials 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by