Graphics Programs Reference
In-Depth Information
Chapter 4
BeyondtheBasics
In this chapter, we describe some of the finer points of MATLAB and review in
moredetailsomeoftheconceptsintroducedinChapter2.Weexploreenoughof
MATLAB'sinternalstructuretoimproveyourabilitytoworkwithcomplicated
functions,expressions,andcommands.Attheendofthischapter,weintroduce
some of the MATLAB commands for doing calculus.
Suppressing Output
Some MATLAB commands produce output that is superfluous. For example,
when you assign a value to a variable, MATLAB echoes the value. You can
suppress the output of a command by putting a semicolon after the command.
Here is an example:
>> syms x
>>y=x+7
y=
x+7
>>z=x+7;
>> z
z=
x+7
The semicolon does not affect the way MATLAB processes the command
internally, as you can see from its response to the command z .
50
Search WWH ::




Custom Search