Grid of values spacing in logarithmic scale
19 ビュー (過去 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.
0 件のコメント
採用された回答
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
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!