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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Input/output commands Table 1.4–2Commanddisp(A)1-35disp(’text’)x = input(’text’)x = input(’text’,’s’)DescriptionDisplays the contents, butnot the name, of the arrayA.Displays the text stringenclosed within quotes.Displays the text inquotes, waits <strong>for</strong> userinput from the keyboard,and s<strong>to</strong>res the value in x.Displays the text inquotes, waits <strong>for</strong> userinput from the keyboard,and s<strong>to</strong>res the input as astring in x.