フィルターのクリア

Plot a complex sinusoidal function consisting of the sum of 5 sine waves

1 回表示 (過去 30 日間)
Shamala Nagarajoo
Shamala Nagarajoo 2017 年 12 月 11 日
回答済み: Star Strider 2017 年 12 月 11 日
compute and plot a complex sinusoidal function consisting of the sum of 5 sine waves with equal amplitudes but whose frequencies are 1,3,5,10 and 20, again for t varying from 0 to 2*pie

回答 (1 件)

Star Strider
Star Strider 2017 年 12 月 11 日
Start with:
t = linspace(0, 2*pi);
frq = [1 3 5 10 20];
then compute the sine of this matrix:
arg = frq' * t;
then sum it and plot it.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by