フィルターのクリア

Sine and Cosine plot

1 回表示 (過去 30 日間)
imT16
imT16 2021 年 2 月 4 日
回答済み: KSSV 2021 年 2 月 4 日
Can anyone help me on How to get sine and cosine plot of the variable,between -2pi to 2pi . .

採用された回答

KSSV
KSSV 2021 年 2 月 4 日
It is your Home work which is really simple. And you should do it. Here are the hints.
  1. Define intial value x0 = -2*pi ;
  2. Define final value x1 = +2*pi ;
  3. Use linspace. Read about it. Create the required vector x.
  4. Use the functions sin(x) for sin and cos(x) for cos.
  5. Use plot to plot the required. Read about plot.

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by