how to plot this
1 回表示 (過去 30 日間)
古いコメントを表示
x=0:1:10;
y=x^3-5^x+3;
plot(x,y)
0 件のコメント
回答 (3 件)
Deepak Gupta
2022 年 11 月 14 日
移動済み: Jan
2022 年 11 月 14 日
Are you trying to evaluate Y at each x?
Use this in that case: y=x.^3-5.^x+3;
0 件のコメント
RAGHUNATHRAJU DASHARATHA
2022 年 11 月 14 日
As per my understanding you want to plot x and y but you are unable to do that beacuse you are not using element wise operations.
I'll be demonstarting it using your code
x=0:1:10;
y=x.^3-5.^x+3;
plot(x,y)
for more information you can refer the link
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!