I'm trying to find how much the oscillating frequency varies using Monte Carlo. I am using the dft command to find the spectrum, but the spectrum isn't plotted for every variation in the monte carlo simulation.

I am interested in doing a Monte carlo (or simple parameter sweep(+) and then extracting the oscillation frequency and max amplitude from the spectrum, is there any way i can do this? for the parameter sweep i can manually look at all the plots but the spectrum doesn't even plot for monte carlo.

[edit] resolved using the 'freq' command with the 'value' command. thanks.