how to write this in matlab???? and plot graph between y and x;
Show older comments
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 Comments
KSSV
on 11 Sep 2018
What have you tried?
Walter Roberson
on 11 Sep 2018
MATLAB does not have implicit multiplication. You need to put in * or .* operators.
Mithun Routh
on 11 Sep 2018
PromoCodeBSJ
on 11 Sep 2018
If you have z=2, dont you just get 0.5? What is the point of this equation
PromoCodeBSJ
on 11 Sep 2018
You need pi*(whatever is next)
Mithun Routh
on 11 Sep 2018
Mithun Routh
on 11 Sep 2018
PromoCodeBSJ
on 11 Sep 2018
Edited: PromoCodeBSJ
on 11 Sep 2018
what is x? you need to define x. on my machine it works fine
Accepted Answer
More Answers (0)
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!