Grid of values spacing in logarithmic scale
조회 수: 44 (최근 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!