PLOT log scale in y cordinate
조회 수: 1 (최근 30일)
이전 댓글 표시
i have this equation and i want ger the relation between Xss and W
-3751474221736597/(2621440*(17179869184*W^2 - 336973579165665))
my code is
syms W
W=0:200:2000;
figure
semilogy(W,Xss)
but this error is appear
Error using semilogy
A numeric or double convertible argument is expected
댓글 수: 0
답변 (1개)
Star Strider
2019년 4월 27일
Try this (using the fplot function):
syms W
Xss = -3751474221736597/(2621440*(17179869184*W^2 - 336973579165665));
figure
fplot(Xss, [0 2000])
set(gca, 'YScale','log')
댓글 수: 2
Star Strider
2019년 4월 27일
It ran for me as posted without error.
Post your code so I can see what the problem is.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!