Not enough input arguments
2 views (last 30 days)
Show older comments
Jackson vanHerwynen
on 20 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);
0 Comments
Accepted Answer
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);
0 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!