how do i plot this?
조회 수: 15 (최근 30일)
이전 댓글 표시
how do I plot this in matlab?
f(x)=2x/(x^2)+1 - x/sqrt(3*x+6) in the interval of -2<x_<6 (what i mean is that x is smaller or exactly 6)
i wrote like this below:
x=linspace(-2,6)
f=(2*x/x.^2+1)-(x/sqrt(3*x+6))
plot(x,f)
but this did not work
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
