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!