January 2014
Intermediate to advanced
544 pages
10h 15m
English
After studying this chapter, you should be able to:
MATLAB is a command-line driven language that sequentially processes whatever statements are entered at the command prompt. When working on large problems, it is convenient to save your code in a text file. MATLAB provides the facility to write a series of MATLAB statements in a file and then execute them with a single command. You can write your program in an ordinary text file, giving it a suitable name such as myfile.m. The program in myfile.m can be executed at the command prompt as follows:
>> myfile %This would run the program ...
Read now
Unlock full access