
𝑦 = 2𝑐𝑜𝑠3𝑥
26 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
Image Analyst
2021-5-16
numPoints = 1000;
x = linspace(-3*pi, 3 * pi, numPoints);
y = 2 * cos(3 * x);
plot(x, y, 'b-', 'LineWidth', 2);
grid on;
xlabel('x', 'FontSize', 18);
ylabel('y', 'FontSize', 18);

0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!