Grid of values spacing in logarithmic scale
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
SV
el 13 de Sept. de 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.
0 comentarios
Respuesta aceptada
Star Strider
el 13 de Sept. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!