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

 Akzeptierte Antwort

Cameron B
Cameron B am 21 Jan. 2020

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by