Error for MATLAB Guide, Third Edition

In the list below, line numbers do not include tables.

  • Page 48, line -12: a + rand*(b-1) should read a + rand*(b-a).
  • Page 64: in the second example, C should contain a third row of zeros.
  • Page 90: the first function call in the text should read

>> [x_sort,x_mean,x_med] = marks2(exmark) 

The second piece of MATLAB code should read

>> [~,~,~,x_std] = marks2(exmark) 
x_std =    
32.8010
  • Page 130, line -6: '-dpdf2' should read '-dpdf'.
  • Page 316, line 12 should read “The maxplus function defines”.
  • Page 316, line 17: times should read mtimes.
  • Page 142, line -3: MATLAB does not always return an integer result for the determinant of a matrix with integer entries (though it used to do so). At the top of page 143, the result should read

>> det(A) 
ans = 
288.0000
  • Page 159, line 10: fzplot should read fplot.