how to write cos*cos*sin
7 views (last 30 days)
Show older comments
how to write cos*cos*sin
0 Comments
Answers (2)
Azzi Abdelmalek
on 14 Jul 2016
f=@(x) cos(x)*cos(x)*sin(x)
2 Comments
Azzi Abdelmalek
on 15 Jul 2016
There is nothing about solving in your question, please edit your question and make it clear, explain what are you data and what are your unknown variables
Star Strider
on 15 Jul 2016
You have to use element-wise operations:
ccs = @(x) cos(x).*cos(x).*sin(x);
0 Comments
See Also
Categories
Find more on Operators and Elementary Operations 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!