I want to sweep a resistor value and calculate SNRs at a certain frequency and compare them to decide which one is the largest, in an opamp circuit.
Problem is that signal amplitude is constant in Noise analysis tool, set by user. I want it to change according to the resistor value.
Currently what I am doing is that, I run AC transfer analysis and measure signal amplitude there, then come back to total noise voltage and measure noise from there(and convert it to db). Then subtract them to get the SNR. How can I automate this? Or can I?