Azzera filtri
Azzera filtri

Grid of values spacing in logarithmic scale

19 visualizzazioni (ultimi 30 giorni)
SV
SV il 13 Set 2019
Modificato: SV il 13 Set 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.

Risposta accettata

Star Strider
Star Strider il 13 Set 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 Commenti
SV
SV il 13 Set 2019
Modificato: SV il 13 Set 2019
Thank You very much.
Star Strider
Star Strider il 13 Set 2019
As always, my pleasure!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by