Introduction to Simulink with Engineering Applicatioins, Second Edition

Appendix A: Introduction to MATLAB

This appendix serves as an introduction to the basic MATLAB commands and functions, procedures for naming and saving the user generated files, comment lines, access to MATLAB's Editor / Debugger, finding the roots of a polynomial, and making plots. Several examples are provided with detailed explanations.

A.1 MATLAB and Simulink

MATLAB and Simulink are products of The Math Works, Inc. These are two outstanding software packages for scientific and engineering computations and are used in educational institutions and in industries including automotive, aerospace, electronics, telecommunications, and environmental applications. MATLAB enables us to solve many advanced numerical problems rapidly and efficiently.

A.2 Command Window

To distinguish the screen displays from the user commands, important terms, and MATLAB functions, we will use the following conventions:

  • Click: Click the left button of the mouse

  • Courier Font: Screen displays

  • Helvetica Font: User inputs at MATLAB's command window prompt >> or EDU>> [1]

  • Helvetica Bold: MATLAB functions

  • Normal Font Bold Italic: Important terms and facts, notes and file names

When we first start MATLAB, we see various help topics and other information. Initially, we are interested in the command screen which can be selected from the Window drop menu. When the command screen, we see the prompt >> or EDU>>. This prompt is displayed also after execution of a command; MATLAB now waits for a new command from the user. It is highly recommended that we use the Editor/ Debugger to write our...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Touch Screen Displays
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.