Graphics Programs Reference
In-Depth Information
FigureG-1: TheHelpBrowser, Openedto“Graphics”.
MATLAB Operators
\ Left matrix division. X=A \ B is the solution of the equation A*X=B . Type help
slash for more information.
A=[10;21];B=[3;5];
A \ B
/ Ordinary scalar division, or right matrix division. For matrices, A/B is essentially
equivalent to A*inv(B) . Type help slash for more information.
* Scalar or matrix multiplication. See the online help for mtimes .
. Not a true MATLAB operator. Used in conjunction witharithmetic operators to
force element-by-element operations on arrays. Also used to access fields of a struc-
ture array.
a=[123];b=[4-68];
a.*b
syms x y; solve(x +y-2,x-y);ans.x
.* Element-by-element multiplication of arrays. See the previous entry and the
online help for times .
ˆ Scalar or matrix powers. See the online help for mpower .
Element-by-element powers. See the online help for power .
Search WWH ::




Custom Search