4.0

4.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 117.94 KB File ID: #25639
image thumbnail

Simscape Language: Van Der Pol’s Equation

by Steve Miller

 

23 Oct 2009

Simscape language example showing how to implement and solve a nonlinear second-order ODE.

| Watch this File

File Information
Description

This file contains the Simscape language source code implementing Van Der Pol’s equation (x′′ - μ(1-x2)x′ + x = 0). We rewrite the equation as a system of first-order ordinary differential equations (ODE), and then implement them as a vector. This file also contains a Simulink model that can be used to plot the solution to this equation in time.

To use this example, you will need to first build the component using the command ssc_build. Please read the README.txt file to get started.

To find other Simscape language examples, search for posts with the keyword "simscape language"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22simscape+language%22

To view a webinar (35 minutes) about the Simscape language, go to: http://www.mathworks.com/wbnr31004

To learn more about MathWorks Physical Modeling Products, go to: http://physical-modeling.mathworks.com/

Required Products Simscape
Simulink
MATLAB release MATLAB 7.9 (2009b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
10 Nov 2009 Erdal Bizkevelci  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simscape Steve Miller 27 Oct 2009 16:28:21
simscape language Steve Miller 27 Oct 2009 16:28:21
ode Steve Miller 27 Oct 2009 16:28:21
vectorized Steve Miller 27 Oct 2009 16:28:21

Contact us at files@mathworks.com