Robuta

https://it.mathworks.com/help/rf/ref/pwlresp.html pwlresp - Calculate time response of piecewise linear input signal - MATLAB This MATLAB function computes the time response, tran, and time vector, t, of a piecewise linear input signal. time responsecalculatelinearinputsignal