You are on page 1of 54
Appendixes A. MATLAB Basics 831 2. Simulink Basics 849 po) oe APPENDIX A MATLAB Basics A INTRODUCTION MATLAB a an interatve propa fo sce ai enginetting elution The MATLAB family of programs includes the base program pus a variety of {oolboxes, colton of pei elle fle that extend the functionally of the base program [1-8] Together, the base program plus the Conrot Ste Toolbox provide the eapbilty 10 wse MATLAB for contol system design and aalys Whenerer MATLAB is referenced nis book, it means the bse program pls the Control Ste Tolbos Most o the satemen', functions, and commands are computer aor independent Regardless of what particular computer system you ws, your ntrae- tion with MATLAB & basally the same. Tis appendix concentrates on this compar patform-independen interaction. A typical seision wil ize a variety of objets (at allow you to interact withthe progr (2) statements and variables, (2) maui (2 graphs and (4) stp MATLAB interprets and at on input in the form of ne or more of hese objects The goal inthis eppendi ito iatoduce each ofthe fou objects in preparation for our timate gol of wing MATLAB for otro system design and analy. ‘The maer ia which MATLAB interacts witha specie computer stem i compar patform dependent. Examples of computer. dependent functions nelude installation, he file Structure, hardcopy generation ofthe graphic, he invoking, aun ening fa session, and memory aloeation. Questions elated to platform: dependent sues are aot adressed ere. Tis docs not meaa that they are Bot inportant, ut rater that tere are better sures of information such a8 the MATLAB User Guide or the tcl resident exper. Th semaines of tis aypeinlia vos uf fm sto eonesning othe {our objets already led Inthe fist etion, we present the base of saements au variables Following thats the subj of matrices The third setion presenta intoduton to graphics, andthe fourth section is x dicusion onthe important Eni xg an Mes. te res ints append can Deconstructing ‘he nls ound atthe MCS webs T PIABLES ‘Statements hve the form shown ia Figue AL. MATLAB usesthe assignments that ‘equals (°=") implies the assignment of the expression to the variable, The command 831

You might also like