I suggest you that forget your book for a couples of weeks and try first wiht one tutorial for matlab for learn in first place the basics things for understand the books examples.
If you dont learn some commands, procedures, etc, those codes will be chinese for you.
Good Luck!