Not enough input arguments

1 view (last 30 days)
Jackson vanHerwynen
Jackson vanHerwynen on 20 Jan 2020
Answered: Cameron B on 21 Jan 2020
clc
t=2;
f1 = 130;
f2 = 120;
y = 2*cos.*(2*pi*((f1+f2)./2)*t)*cos.*(2*pi*((f1-f2)./2)*t);

Accepted Answer

Cameron B
Cameron B on 21 Jan 2020
Is this what you mean?
y = 2*cos(2*pi*((f1+f2)/2)*t)*cos(2*pi*((f1-f2)/2)*t);

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!