Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by