How to write a "Big O notation" coding using MATLAB

3 ビュー (過去 30 日間)
Anitha Vishnuvarthanan
Anitha Vishnuvarthanan 2016 年 12 月 27 日
回答済み: José-Luis 2016 年 12 月 27 日
Hi I would like to write a big O notation code for MATLAB program (medical image segmentation) to analyse time complexity.can anyone give me some example or solution.

回答 (1 件)

José-Luis
José-Luis 2016 年 12 月 27 日
Is this what you mean:
axes;
text(0.5,0.5,'$\mathcal{O}(n\log{}n)$','Interpreter','latex')

Community Treasure Hunt

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

Start Hunting!

Translated by