Mastering MATLAB 5 Errata
Here's the errata for the first edition of Mastering MATLAB 5.
(Some of these errors were corrected in later printing runs.)
- pg 58 at the bottom of the page add the line ">> B = [1 4 7];" before the
last example. This restores the matrix B to its earlier value.
Then on page 59 at the top of the page replace "But you can place the second
and third columns of A into the same size area of B." with "But you can
place the second and third rows of A into the same size area of B."
(Thanks
to Rafal Pisula from the UK for spotting this one.)
- pg 63 in the middle of the page the line ">> y = b(x)" should read ">> y
= B(x)". Also, the value "4" should be "-4".
- pg 75 in the middle of the page the comment for the third example is
wrong. The text "% 1st element, 2nd column, 3rd page" should read
"% 1st row, 2nd column, 3rd page". (Thanks to Dr. Sharoni Shafir
at the Hebrew University of Jerusalem for spotting this one.)
- pg 84 in the middle of the page "tf = ~(A<4)" should read "tf =
~(A>4)". (Thanks to Stephen Smith at the University of Waterloo for
spotting this one.)
- pg 262 in the first right hand box of the table "where f(f,y) is not"
should say "where f(t,y) is not" just as it is used elsewhere in the
table.
- pg 289 in the code for the "peek" function:
Line 25: nargin should be replaced with nargout
Line 34: v{:} = deal... should be replaced with [v{:}] = deal...
Line 37: n{:} = deal... should be replaced with [n{:}] = deal...
(Thanks to Nathan Cahill at Kodak for spotting this one.) The M-file is
correct but the listing on page 289 is not.
- pg 340 Figure 27.6 at the top of the page is partially chopped off. This
figure was correct on the page proofs from the compositor.
- pg 340 spurious large letter E in the middle left of the page. This page
was correct on the page proofs.
- pg 383-385 Figures 28.18, 28.19, 28.20, and 28.21 are supposed to be
different than Figure 28.17 on pg 382 but they did not. As best we can
tell, these figures were incorrect on the page proofs as well, so we
probably need to send (or ftp) the revised figures somewhere.
- pg 329 The symbols for the first \theta and
\ni are incorrect in the symbol table.
- pg 463 The vertical bar symbol no longer works as a line break in a
string in multiline ediable text boxes. They do work in popup menu strings
(pg 465) and listboxes (pg 467).
- pg 467 The last line in the code example should have a comma between
'Max' and the number 2.
- pg 475 The three lines of code assigning Hc_min,
Hc_max, and Hc_cur should be indented to clarify that
these assignments are made in the if clause rather than the
elseif clause.
- pg 565 in the middle of the page, the fraction 1/2 needs to have its type
style made the same as the rest of the heading Contour and 2 1/2-D
graphs. The size of the fraction should be shrunk as well to make it fit
better.
- pg 576 middle of the page "Specifies the type of graphic project used."
should read "Specifies the type of graphic projection used."
- pg 601 next to "AmbientStrength" put a space between the number 0 and
the less than or equal to sign.