Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-m9kch Total loading time: 0 Render date: 2024-05-23T20:43:11.527Z Has data issue: false hasContentIssue false

APPENDIX 3 - MATLAB Tutorial

Published online by Cambridge University Press:  05 June 2012

Bohdan T. Kulakowski
Affiliation:
Pennsylvania State University
John F. Gardner
Affiliation:
Boise State University, Idaho
J. Lowen Shearer
Affiliation:
Pennsylvania State University
Get access

Summary

MATLAB OVERVIEW

MATLAB, an interactive and powerful engineering package from The MathWorks, Inc., is one of the most common software tools used in the analysis and design of dynamic systems and the control systems implemented on them. The basic package has many powerful numerical analysis functions as well as the ability to write scripts and functions to aid in repetitive analysis and to allow the user to augment the environment with custom capabilities.

Although it is likely that the reader will have a working knowledge of MATLAB, this tutorial is included to bring the uninitiated reader up to speed and to expose the casual user to several important features that are pertinent to this text. In this tutorial we cover the basic running environment of MATLAB (with its default windows), the fundamental data structure (the matrix), writing scripts and functions, and plotting data. We also explore some capabilities of the Control Systems Toolbox, which has many tools designed to aid in the analysis of dynamic systems. Appendix 4 contains a tutorial for Simulink, a MATLAB add-on, which allows for the rapid development of system simulations.

Launching MATLAB

Find MATLAB from the START menu on your computer and launch the application. Figure A3.1 shows the default frame with the three standard windows. The “current directory” window has an alternative window that you can access by clicking on the tab. Figure A3.2 shows the alternative window and describes its function.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2007

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×