
Introduction to MATLAB and Octave 499
is the window shown in Figure A.5.
FIGURE A.5: The MATLAB help browser
You can find more about the
doc f unction with any of
MATLAB/Octave
>> doc doc
>> help doc
If you want to find help on a particular topic, but do not know the function to use, the
lookfor f unction is extremely helpful. The command
lookfor topic
lists all commands for which the first line of the help text contains the string topic. For
example, suppose we want to find out if MATLAB supports the exponential function
e
x
.
Here’s how:
MATLAB/Octave
>> lookfor exponential
EXP Exponential.
EXPINT Exponential integral function.
EXPM Matrix exponential.
EXPM1 Matrix ...