𝑦 = 2𝑐𝑜𝑠3𝑥
10 ビュー (過去 30 日間)
古いコメントを表示
How I do a graph of 𝑦 = 2𝑐𝑜𝑠3𝑥 ?
0 件のコメント
回答 (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!