clc
t=2;
f1 = 130;
f2 = 120;
y = 2*cos.*(2*pi*((f1+f2)./2)*t)*cos.*(2*pi*((f1-f2)./2)*t);

 採用された回答

Cameron B
Cameron B 2020 年 1 月 21 日

0 投票

Is this what you mean?
y = 2*cos(2*pi*((f1+f2)/2)*t)*cos(2*pi*((f1-f2)/2)*t);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

タグ

質問済み:

2020 年 1 月 20 日

回答済み:

2020 年 1 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by