how to write this in matlab???? and plot graph between y and x;
1 回表示 (過去 30 日間)
古いコメントを表示
z=2;
y=0.5-0.00167(z-2)sin(π(x+0.1)/(18.5-0.3(z-2) ))-0.00184(x-3)(z-2)
8 件のコメント
PromoCodeBSJ
2018 年 9 月 11 日
編集済み: PromoCodeBSJ
2018 年 9 月 11 日
what is x? you need to define x. on my machine it works fine
採用された回答
PromoCodeBSJ
2018 年 9 月 11 日
編集済み: Walter Roberson
2018 年 9 月 11 日
x=1:10
z=1
y=(0.5-0.00167.*(3-2)).*sin((pi.*(x+0.1)/(18.5-0.3.*(3-2))))-0.00184.*(x-3).*(3-2);
Copy and paste this
2 件のコメント
Walter Roberson
2018 年 9 月 12 日
It was PromoCodeBSJ who provided the solution; I just reformatted it to look nicer.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!