Electrical – Is it possible to create a signal in LTSpice by using a stored data

ltspice

I have lots of sampled voltage signals data where I can plot them in MATLAB or write them to a text file for each sample.

I would like to use these samples to generate input signals in LTSpice instead of trying to mimic them.

Is it doable in LTSpice?

edit: My data samples on txt can be in the following format:

59.7435 5.0615

59.7437 5.0578

59.7440 5.0768

59.7443 5.1119

Where the first column is time stamps in seconds, and the second column is corresponding sampled voltages

Best Answer

If you can format the matlab data as a series of timestamps and levels you can use the PWL file option for a voltage or current source.

http://www.linear.com/solutions/1814