Thank you FeX32!
I changed the SIMULINK solver type from a variable type(default, ode45 used to preserve accuracy with minimum number of samples) to fixed type with a sampling period of 0.001 sec.
It works only for a simulation time of < 1 sec.
Hi everyone!
I want to obtain the following function in MATLAB.
I created the same in SIMULINK and used "to workspace" block to transfer it to MATLAB workspace.
But the transferred signal is of unequal sample intervals. Hence Im unable to use "lsim" to simulate my transfer function in...