In electric-circuit theory due to superposition for an LTI system, the voltage can be thought such that it is sum of of a transient response plus a steady state response.
For example below the voltage waveform's steady state response is a sine and the transient response is an increase with negative exponential.
The above is an example. Is it possible to view only the transient response of such waveform in LTspice by not using a complicated circuitry? What came to my mind something like a peak detector but I don't know how I can accurately implement it by a behavioral source ect.