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

2 views (last 30 days)
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.

Answers (1)

José-Luis
José-Luis on 27 Dec 2016
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!