Sine wave of Force (viscoelasticity) with max and min

4 ビュー (過去 30 日間)
Uyen Nguyen
Uyen Nguyen 2020 年 4 月 11 日
回答済み: Ameer Hamza 2020 年 4 月 11 日
Hello,
I am new to matlab and i am having trouble understanding how i can graph a sine wave (force vs time) in which F will be a 0.5 Hz sine wave that has a minimum of 0 and a maximum of 2. Time vector is span from 0 : 0.01:10 seconds.
  1 件のコメント
Subhamoy Saha
Subhamoy Saha 2020 年 4 月 11 日
You should read the MATLAB documentation regarding creating vectors and plotting of vectors.

サインインしてコメントする。

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 4 月 11 日
t = 0:0.01:10;
f = 0.5;
y = sin(2*pi*f*t)+1;
y is the signal of 0.5Hz varying from 0 to 2.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by