How to plot Complexity and Big-O Notation in MATLAB
Show older comments
Hello
I would be thankful if I get a MATLAB code to plot Complexity and Big-O Notation as you can see in the figure below.
Thanks Alot
1 Comment
Walter Roberson
on 26 Nov 2018
hint:
fplot(@(n) [1, log(n), n], [1 10])
Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!