adding noise to input
Posted: Fri Mar 08, 2019 8:43 am
Hi,
I would like to modify the IClampnoise (viewtopic.php?f=16&t=2055&p=17467#
) in order to tune the frequency of the input signal.
I would like to have something similar to the current generated by a sinusoidal function as
i= constantAmp*cos(2*pi*(t-del)*freq*(0.001))
where I can tune freq.
How can I change the amp=f0+0.5(f1-f0)(tanh((t-torn)/(r/3)-3)+1) expression in order to change the frequency of the signal?
Can you please explain the meaning of the torn and r terms?
Maybe tuning f0 and f1 can be a way to explore a frequency range?
Best
Menica
I would like to modify the IClampnoise (viewtopic.php?f=16&t=2055&p=17467#
) in order to tune the frequency of the input signal.
I would like to have something similar to the current generated by a sinusoidal function as
i= constantAmp*cos(2*pi*(t-del)*freq*(0.001))
where I can tune freq.
How can I change the amp=f0+0.5(f1-f0)(tanh((t-torn)/(r/3)-3)+1) expression in order to change the frequency of the signal?
Can you please explain the meaning of the torn and r terms?
Maybe tuning f0 and f1 can be a way to explore a frequency range?
Best
Menica