Hello,
You can only use .STEP to change the values of components in
the .AC simulation.
Best regards,
Helmut
toggle quoted message
Show quoted text
--- In LTspice@..., "MOHAMMAD A MAKTOOMI" <amaktoomamu@...> wrote:
Thank you, Andy for your hints.
But, in '.AC' we need to have an AC voltage or current source. Here, I don't have any such thing (as I wish to vary the frequency of R2, NOT that of any source), so how do I proceed?
--- In LTspice@..., Andy <Andrew.Ingraham@> wrote:
MOHAMMAD A MAKTOOMI <amaktoomamu@> wrote:
...
Note: In your circuit, you may need to decrease the maximum timestep
down to about 10ns. (.tran 0 0.1m 0 10n) The output waveform is
highly distorted at the highest frequency and LTspice was missing the
narrow peak before doing that, making the amplitude look a lot less.
It probably also means the result is unrealistic at that frequency,
but that's another matter.
Andy