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 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