𝑦 = 2𝑐𝑜𝑠3𝑥

回答 (2 件)

Image Analyst
Image Analyst 2021 年 5 月 16 日

1 投票

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);
Alan Stevens
Alan Stevens 2021 年 5 月 16 日

0 投票

help plot

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

製品

リリース

R2021a

タグ

質問済み:

2021 年 5 月 16 日

回答済み:

2021 年 5 月 16 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by