Question

Compare the responses of the nonlinear and linearized systems using Matlab function ODE 23. Assume that the system is at the normal operating( NOP) initially. This means plot the responses

and compare them. Let u = ū + û where û = -0.06sint Use a time span of 2 seconds starting at 0. You will need to create an m-file for the linear system, an m-file for the nonlinear system,and a third m-file to call the first two and to create the plot(s). Upload all your work for this problem and theother problems in the Homework 3 Uploadunder the modules section.

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8