Computational Complexity of minpoly()

2 ビュー (過去 30 日間)
Panagiotis Misiakos
Panagiotis Misiakos 2019 年 10 月 2 日
回答済み: Kajal Bansala 2021 年 3 月 10 日
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 Center および File ExchangePolynomials についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by