Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
I've found this link: http://www.audio-perfection.com/audio/audio-total-harmonic-distortion-analyzer-for-ltspice-making-thd-vs-amplitude-and-frequency-sweeps-in-ltspice.html
I'm trying to understand how to use this script properly.
Can someone tell me how I can plot the THD vs freq...
Do anyone know how to check the THD (fft) in a easy way in LTspice?
When I press the FFT-button, I got this window popping up. What should I select there?
Maybe an alternative is to do this instead:
I found somewhere that you need to write a SPICE directive like this: