I can't really find why matlab won't plot this equation, I run into an error as soon as i try to run it
조회 수: 1 (최근 30일)
이전 댓글 표시
x = 0 : 0.01 : 10 ;
y= ((exp(-0.5.*x))*(4-x))-2;
% Now, plot the f(x) -> x:
plot(x, y)
% Set axes labels:
xlabel('x')
ylabel('y')
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!