Say I have a simple system (1/s) through which I want to pass a signal. I don't have the signal, but only the initial condition x(0).
X(s) --> [1/s] --> Y(s)
Obviously one can easily do this in Simulink. But how do I implement it in Matlab using "normal" code? Sure, I guess I could use something like the Trapezoidal method and do it all manually, but is there not a quicker way to do it?