How is this written?

1 view (last 30 days)
CJL
CJL on 20 Jan 2015
Commented: CJL on 20 Jan 2015
Keep getting errors

Accepted Answer

Mohammad Abouali
Mohammad Abouali on 20 Jan 2015
x=2;
y= sin(2*x)/5 + sin(x).^2 - 2*sin(x).*cos(x);
  1 Comment
CJL
CJL on 20 Jan 2015
Thanks. Issue was not placing the periods after the trig functions.

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!