How to plot Complexity and Big-O Notation in MATLAB
显示 更早的评论
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 个评论
Walter Roberson
2018-11-26
hint:
fplot(@(n) [1, log(n), n], [1 10])
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!