MATLAB_SIMULINK_DEMO_F2003

MATLAB_SIMULINK_DEMO_F2003 - ME 3514 Fall 2003 R. G. Kirk...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ME 3514 Fall 2003 R. G. Kirk 1 MATLAB or SIMULINK or a combination of both can be very powerful to solve many engineering problems. The following examples will illustrate how you can solve simple time integration problems using these tools. The total solution of the equations of motion for linear and nonlinear problems can be computed with relative ease. This is a Simulink model that can be quickly constructed and run with output to the simulated scope. Scope1 Scope s 1 Integrator1 s 1 Integrator 2500*u/5.2 Fcn1 10*u/5.2 Fcn The following model has variables that must be defined in the MATLAB workspace. Scope s 1 Integrator1 s 1 Integrator D1 Gain2 K1 Gain1 1/M1 Gain
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ME 3514 Fall 2003 R. G. Kirk 2 Examples of different blocks available XY Graph1 XY Graph xout To Workspace2 yout To Workspace1 time To Workspace Sine Wave Scope MATLAB Function MATLAB Fcn cos [A] Goto [A] From 0 Display Clock
Background image of page 2
ME 3514 Fall 2003 R. G. Kirk 3 More Examples of blocks available XY Graph Step Scope s 1 Integrator -2 Gain 0 Display2 0 Display1 0 Display T z-1 Discrete-T im e Integrator 12:34 Digital Clock 1 Constant
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ME 3514 Fall 2003 R. G. Kirk 4 Simple stand-alone SIMULINK mdl file sum integration mux function scope connect the blocks, define the parameters, initial conditions, select integration method, time step, run time, etc Scope1 Scope s 1 Integrator1 s 1 Integrator 2500*u/5.2 Fcn1 10*u/5.2 Fcn
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 20

MATLAB_SIMULINK_DEMO_F2003 - ME 3514 Fall 2003 R. G. Kirk...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online