Clear Filters
Clear Filters

How to generate a signal with logarithmic increasing amplitude and a constant frequency?

5 views (last 30 days)
Hello everyone,
Im trying to generate a signal with an logarithmic increasing amplitude and constant frequency.
I also need to write a code for another signal with changing both (amplitude and frequency), but i think it will be easy after i know how to do the first one.
Regards,
Ali

Accepted Answer

David Hill
David Hill on 15 Feb 2022
t=0:0.001:1;
f=60;
y=log(t+1).*sin(2*pi*f*t);
plot(t,y)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!