Why isn't the plot showing up? (new on programing)

x = linspace(-10,10,100);
y = @(x) (x.^2 + x.^2 + 3.*x)/(x.^2 + 4.*x + 5);
plot(x,y(x),'r','LineWidth',2)

 채택된 답변

KSSV
KSSV 2021년 10월 17일
x = linspace(-10,10,100);
y = @(x) (x.^2 + x.^2 + 3.*x)./(x.^2 + 4.*x + 5); % element by elememnt division
plot(x,y(x),'r','LineWidth',2)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2021년 10월 17일

댓글:

2021년 10월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by