Chapter 2
Introduction to MATLAB Programming
Contents
2.1 Algorithms
2.2 MATLAB Scripts
2.3 Input and Output
2.4 Scripts with Input and Output
2.5 Scripts to Produce and Customize Simple Plots
Key Terms
computer program
scripts
algorithm
top-down design
external file
default input device
prompting
default output device
execute/run
high-level languages
machine language
executable
compiler
source code
object code
interpreter
script files
documentation
comments
input/output (I/O)
user
empty string
error message
formatting
format string
place holder
conversion characters
newline character
field width
leading blanks
trailing zeros
plot symbols ...
Get Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.