Graphics Programs Reference
In-Depth Information
exp(-x) and sin(x)
1
0.5
0
-0.5
-1
0
1
2
3
4
5
6
7
8
9
10
x
Figure2-3
function data class. This is the type of input fzero expects as its first
argument.
In current versions of MATLAB, fzero also accepts a string expression with
independent variable x , so that we could have run the command above
without using inline , but this feature is no longer documented in the help
text for fzero and may be removed in future versions.
Vectors and Matrices
MATLAB was written originally to allow mathematicians, scientists, and
engineers to handle the mechanics of linear algebra — that is, vectors and
matrices — as effortlessly as possible. In this section we introduce these
concepts.
Search WWH ::




Custom Search