Below are the equations for a nonlinear system.

Question # 00098458 Posted By: paul911 Updated on: 08/29/2015 12:09 AM Due on: 09/28/2015
Subject General Questions Topic General General Questions Tutorials:
Question
Dot Image

1. Below are the equations for a nonlinear system. This set of equations describes a Vanderpol model. Generate a simulink model to analyze this system. The equations are:

x+(x2-1)x+x=0

x

2

=x; x

2

(

0

=1

)

x2

=x1

x

1

(

0

=1

)

x= 1-x2

x-x

(

)

1

2

1

2

Generate plots of x1 vs. time, x2 vs. time, and x1 vs. x2. Note that you need to use an integrator with an initial condition. Investigate the use of the xy plotter in the sink folder to generate the x1 vs. x2 plot.

If you save the model as vdpol.mdl, the following will permit you to solve the model from the command line. Put out the variables x1 and x2 to the workspace in an 2-D array.

Investigate the options of simulink using

>> options=simset; % generates the default options

>> options=simset('MaxStep',1,'MinStep',1e-5,'AbsTol',1e-3); % sets the options

>> [t,xv]=sim('vdpol',tf,options);% tf is the time for the simulation. Choose tf=10 and repeat for tf =50. The vector t is the time vector and xv is the 2-D array that contains the data.


Dot Image
Tutorials for this Question
  1. Tutorial # 00092821 Posted By: paul911 Posted on: 08/29/2015 12:09 AM
    Puchased By: 3
    Tutorial Preview
    the sink folder to generate ...
    Attachments
    a8-Solution.docx (143.65 KB)
    Recent Feedback
    Rated By Feedback Comments Rated On
    V...ms Rating The experts do a wonderful job 08/30/2017

Great! We have found the solution of this question!

Whatsapp Lisa