Why isn't the plot showing up? (new on programing)
1 回表示 (過去 30 日間)
古いコメントを表示
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)
0 件のコメント
採用された回答
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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!