Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Using Simulink to Solve Ordinary Differential Equations - Part 2

Loading...

Sign in or sign up now!
11,825
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 10, 2009

This video demonstrates how to use Simulink (within Matlab) to solve ordinary differential equations (initial value problems). I had to split the video into two pieces because it was a little over 10 minutes. This is part 2. The full video can be found at http://blanchard.ep.wisc.edu/ These videos were recorded for a course I teach as part of a distance masters degree. See http://mepp.engr.wisc.edu

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (jakeblanchard)

  • I am confused about how you are getting multiple links out of the 1st integrator(goes to the 2nd integrator and the multiplier 3). How do you created multiple exits from that integrator?

  • @britmegan05

    You can create the three objects (the two integrators and the multiplier). Then you can connect the two integrators with a line., Then you can draw a line from the multiplier and connect the other end to the line connecting the two integrators (anywhere between the two objects). It will just connect up, leaving the first integrator with a dual output. Let me know if this isn't clear.

  • @jakeblanchard im having the same trouble with multiple links. I tried what you said, and I end up getting a red dotted line. why is this?

  • @Ren520

    Try this. Start with a blank model. Then put three integrator blocks on the model window. Now connect two of the blocks with a line. Then select both of those connected blocks by drawing a box around both of them. Now hold down the Control (Ctrl) key and trace out a line from the line connecting the first two blocks to the third block. That should do the trick.

  • @jakeblanchard thank you very much. What do you use to represent constants? like in your example, dx^2/dt2 = 5cos(2t)-3dx/dt-4x, what if it's

     dx^2/dt2 = 5cos(2t)-3dx/dt-4x + 3? How do i represent the constant 3?

  • @Ren520

    Use a gain object. It looks like a triangle pointing to the right and it multiplies the input by a constant.

see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • very2..useful.tq v.much bebey

  • thanks man, you did it again, part 1 and two were effective

  • nice video!!!! thank you very much

  • thanks for the uploads :)

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more