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

1 次查看(过去 30 天)
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