08.07.2015 Views

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

Introduction to MATLAB 7 for Engineers Chapter 1 An ... - FET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1-20When you type problem1,1. <strong>MATLAB</strong> first checks <strong>to</strong> see if problem1 is avariable and if so, displays its value.2. If not, <strong>MATLAB</strong> then checks <strong>to</strong> see ifproblem1 is one of its own commands, andexecutes it if it is.3. If not, <strong>MATLAB</strong> then looks in the currentdirec<strong>to</strong>ry <strong>for</strong> a file named problem1.m andexecutes problem1 if it finds it.4. If not, <strong>MATLAB</strong> then searches the direc<strong>to</strong>ries inits search path, in order, <strong>for</strong> problem1.m andthen executes it if found.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!