how can i vary the frequency of the signal
Show older comments
i want to have a signal with variable frequency but i don't know how to do that. the code is
A=240;
d=6;
C=55*pi;
x=[0:1/100:10];
s=x.^3;
a=-(s.*d);
c=x.*C;
b=cos(c);
t=b.*(x.*(A*exp(a))); %the signal
Accepted Answer
More Answers (1)
David Hill
on 13 Aug 2020
A=240;
d=6;
x=[0:1/100:10];
s=x.^3;
a=-(s.*d);
t=@(f)cos(f*x).*(x.*(A*exp(a))); %the signal
plot(x,t(55*pi));
Categories
Find more on Matched Filter and Ambiguity Function in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!