Filter löschen
Filter löschen

Grid of values spacing in logarithmic scale

19 Ansichten (letzte 30 Tage)
SV
SV am 13 Sep. 2019
Bearbeitet: SV am 13 Sep. 2019
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.

Akzeptierte Antwort

Star Strider
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
SV
SV am 13 Sep. 2019
Bearbeitet: SV am 13 Sep. 2019
Thank You very much.
Star Strider
Star Strider am 13 Sep. 2019
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by