Effacer les filtres
Effacer les filtres

Grid of values spacing in logarithmic scale

19 vues (au cours des 30 derniers jours)
SV
SV le 13 Sep 2019
Modifié(e) : SV le 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.

Réponse acceptée

Star Strider
Star Strider le 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 commentaires
SV
SV le 13 Sep 2019
Modifié(e) : SV le 13 Sep 2019
Thank You very much.
Star Strider
Star Strider le 13 Sep 2019
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by