Anyone know why it isnt accepting my cos(2x) ?
38 views (last 30 days)
Show older comments
Alejandra Caballero
on 22 Oct 2020
Answered: galang andaru ibnu tetuko
on 24 Jul 2021
x = -pi:2*pi;
f(x) = (cos(2.*x));
plot (f)
0 Comments
Accepted Answer
Ameer Hamza
on 22 Oct 2020
x = -pi:2*pi;
f = cos(2.*x); % f(x) is wrong
plot(x, f)
More Answers (1)
See Also
Categories
Find more on MuPAD 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!