Computational Complexity of minpoly()
2 views (last 30 days)
Show older comments
What is the computational complexity of matlab's minpoly() function that finds the minimal polynomial of a matrix? Is it slower than charpoly()?
0 Comments
Answers (1)
Kajal Bansala
on 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
0 Comments
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!