Hello,
A V-source can read its PWL-data from a file.
Therefore place a V-source in the schematic. Then right-mouse-click on it and choose PWL-file.
LTspice will interpolate between the data points, if the FFT has to calculate data points between the defined data points.
If the simulation has finhshed, you can start the FFT.
Right-mouse-click into the waveform window -> View -> FFT.
Data format of the file: time value
I guess space(s), comma and tab(s) are possible seperation characters.
2 0
2.1 -1
2.2 0.5
2.3 0
2.4 -0.3
2.5 0.0
2.6 -0.1
2.7 0
2.8 0
Best regards,
Helmut