Grid of values spacing in logarithmic scale

45 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2019-9-13
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by