Grid of values spacing in logarithmic scale
17 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
how do I create a grid of values that explore orders of magnitude spacing in a logarithmic scale?
Thanks in advance for the help.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 13 Sep. 2019
I am not certain what you want.
Try this:
xv = logspace(-5, -1, 25);
yv = linspace(0, 1, numel(xv));
figure
semilogx(xv, yv)
grid
2 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!