It’s not strange. It’s just that you have a transfer function that’s not possible to invert. Just before the ilaplace call, I added:
system_laplace = partfrac(system_laplace, s, 'FactorMode', 'full')
since that can allow inversion in situations where ilaplace otherwise fails. It didn’t work with your system.
You probably need to do your analysis in the Control System Toolbox. See the documentation for the tf function, since it will allow you to enter your equations as you have entered them here:
- s = tf('s') to specify a TF model using a rational function in the Laplace variable, s.