Computational Complexity of minpoly()

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 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangePolynomials についてさらに検索

製品

リリース

R2018b

質問済み:

2019 年 10 月 2 日

回答済み:

2021 年 3 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by