The following syntax changes from the book are seen in the Matlab 2010b version
Page 44: Chapter 2 Lesson 7
The following error message:
???Error using ==> mpower
Matrix must be square
Has changed to:
??? Error using ==> mpower
Inputs must be a scalar and a square matrix.
Error in ==> @(x)x^2+x-log(x)
Note: The same error change must also be updated in Page 231, Chapter 7 of the book
Change in the error description for out-of-bound index.
The book has:
??? Attempted to access x(12); index out of bound because nume1(x) = 10
The current version has:
??? Index exceeds matrix dimensions.