{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

matlab_toolboxes - Introduction to MATLAB MATLAB Toolboxes...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Virginia Polytechnic Institute and State University 1 of 31 Introduction to MATLAB MATLAB Toolboxes Computer Applications in CEE Drs. Trani and Rakha Civil and Environmental Engineering Virginia Polytechnic Institute and State University Spring 2000
Image of page 1

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

View Full Document Right Arrow Icon
Virginia Polytechnic Institute and State University 2 of 31 Sample Toolboxes MATLAB has been extended over the years to respond to the needs of various users Several toolboxes exist to add to the power of the original language. For example: - Simulink - Fuzzy Logic - Neural Networks - Optimization - Controls - C/C++ compiler library - Real-time workshop
Image of page 2
Virginia Polytechnic Institute and State University 3 of 31 Simulink Simulink is a powerful toolbox to solve systems of differential equations Simulink has applications in Systems Theory, Control, Economics, Transportation, etc. The Simulink approach is to represent systems of ODE using block diagram nomenclature Simulink provides seamless integration with MATLAB. In fact, Simulink can call any MATLAB function Simulink interfaces with other MATLAB toolboxes such as Neural Network, Fuzy Logic, and Optimization routines
Image of page 3

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

View Full Document Right Arrow Icon
Virginia Polytechnic Institute and State University 4 of 31 Simulink Building Blocks Simulink has a series of libraries to construct models Libraries have object blocks that encapsulate code and behaviors Connectors between blocks establish causality and flow of information in the model
Image of page 4
Virginia Polytechnic Institute and State University 5 of 31 Simulink Interface The main application of Simulink is to model continuous systems Perhaps systems that can be described using ordinary differential equations
Image of page 5

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

View Full Document Right Arrow Icon
Virginia Polytechnic Institute and State University 6 of 31 Typical Simulink Libraries Shown are some typical Simulink libraries (Macintosh)
Image of page 6
Virginia Polytechnic Institute and State University 7 of 31 Sample Simulink Library (Windows and UNIX) The new Simulink interface in Windows/UNIX uses standard OOP interfaces (Visual C++, Visual Basic)
Image of page 7

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

View Full Document Right Arrow Icon
Virginia Polytechnic Institute and State University 8 of 31 Simulink Example The following example illustrates the use of Simulink to solve a two vehicle car-following problem. This problem has been studied for the past 40 years in traffic flow theory where: is a gain constant of the response process is the acceleration of the following vehicle is the speed of the leading vehicle is the speed of the following vehicle x ˙˙ t τ + ( ) fc k x ˙ t ( ) lc x ˙ t ( ) fc ( ) = k x ˙˙ t τ + ( ) fc x ˙ t ( ) lc x ˙ t ( ) fc
Image of page 8
Virginia Polytechnic Institute and State University 9 of 31 Set-Up of the Problem Assume the velocity profile of the leading vehicle is
Image of page 9

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

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern