Anyone know why it isnt accepting my cos(2x) ?
20 次查看(过去 30 天)
显示 更早的评论
x = -pi:2*pi;
f(x) = (cos(2.*x));
plot (f)
0 个评论
采纳的回答
Ameer Hamza
2020-10-22
x = -pi:2*pi;
f = cos(2.*x); % f(x) is wrong
plot(x, f)
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MuPAD 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!