• Every build in or user made function has a calling syntax that is
unique for each function. In Matlab, to call a function you type the
function’s name and you enclose the input arguments in brackets (if
more than one input argument exist, then commas should be used to
separate the expressions).
• Matlab is handled through the use of various windows, that each is
related with a certain utility. For example, the Command Window is
used to enter variables and run functions and m-files, the Command
History Window makes a diary with the commands that you have
recently entered in the command window, the Workspace Browser
allows you to view the variables that are stored in the workspace, etc.
Any reference to such windows that is made in the main body of
these notes will be explained in detail if it is needed.
1.3 Information of How to Read This Handout
In the main body of this handout, words that refer to a keyboard instruction
will be written in brackets and in boldface letter. For example, [Enter] will
represent one key-press of the Enter button of the keyboard. Words that
represent Matlab’s reserved words such as for, end, who, etc, words that
imply a Matlab term such as m-file, script, function, etc, or key-words related
with the interface menu and toolbars will appear in italics. Words in the
main body that refer to Matlab’s vector and matrix names, Matlab’s build in
functions or user’s new functions will be presented with a
s
s
h
h
a
a
d
d
o
o
w
w style. For
example, if in the main body a reference is made to a vector saved in the
workspace with the name “Hours” it will look like:
H
H
o
o
u
u
r
r
s
s.
The reference to
Matlab’s function that creates 2D figures will be as:
p
p
l
l
o
o
t
t. Moreover, note that
although each function has a specific calling syntax, usually only the name of
the function will be displayed; if not presented in the body text of this
handout, the user should be responsible to find the exact calling syntax of
the function via the Matlab’s help facilities.
Other Matlab output such as warnings, tips or Matlab commands will be
enclosed in double quote marks “ ”. The definition of Matlab related words
and expression in windows (as you will see later) consist exceptions from
these rules. Lastly, references to books and other reading material are
Kommentare zu diesen Handbüchern