MATLAB: Wrong “step” function answer

answerfunctionproblemsteptransfer functionwrong

Hello everybody
I'm using Matlab to study basic control theory and I'm simulating the time-response of different order systems. For this I was told to use the "step" function to see the time-response of the system to a Heaviside input but the plot I get using it doesn't match the theorical graph. Here is the simple code used:
H=tf([0 1],[1 2 3]);
figure(2)
step(H)
The answer presented by Matlab is:
I tried re-installiing Matlab, but the problem is still there. I appreciate the help you could bring me Greeting SimD

Best Answer

Hello to the community I wasn't able to solve the problem of the wrong step answer that Matlab gave me. The only solution was to uninstall de program and delete every trace of the program in the computer, such as registry and preferences, and re-intall it. It took a while but it's finally working, thanks for the ones who tried to solve the problem. Greetings Simon