How to write Exponential growth
Ältere Kommentare anzeigen
Hello,
I am a beginner so I think it's a simple question,
I want to plot a graph which x-axis values vary between 10^0 and 10^5, how do I do that? I know we use (:) this for increment but I don't know how to make it grow exponentially,
Thanks
Antworten (1)
x1 = logspace(0, 5, 11) % 11 points btw 10^0 and 10^5 in log space
x2 = 10.^(0:.5:5)
Kategorien
Mehr zu Graph and Network Algorithms finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!