{"id":2866,"date":"2010-10-22T11:30:16","date_gmt":"2010-10-22T10:30:16","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=2866"},"modified":"2010-10-22T11:30:16","modified_gmt":"2010-10-22T10:30:16","slug":"recommended-books-for-learning-matlab","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=2866","title":{"rendered":"Recommended books for learning MATLAB"},"content":{"rendered":"<p>Because I spend so much time talking about and helping people with MATLAB, I often get asked to recommend a good MATLAB book.  I actually find this a rather difficult question to answer because, contrary to what people seem to expect, I have a relatively small library of MATLAB books.<\/p>\n<p>However, one could argue the fact that I only have a small library of books suggests that I hit upon the good ones straight away.  So, for those in the market for an introductory MATLAB book, here are my recommendations<\/p>\n<p><strong>MATLAB Guide by Desmond and Nicholas Higham<\/strong><br \/>\n<a href=\"http:\/\/www.amazon.co.uk\/gp\/product\/0898715784?ie=UTF8&amp;tag=walkingrandom-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0898715784\"><img decoding=\"async\" src=\"https:\/\/www.walkingrandomly.com\/images\/amazon\/510YKXYWMPL._SL160_.jpg\" border=\"0\" alt=\"\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"http:\/\/www.assoc-amazon.co.uk\/e\/ir?t=walkingrandom-21&amp;l=as2&amp;o=2&amp;a=0898715784\" border=\"0\" alt=\"\" width=\"1\" height=\"1\" \/><br \/>\nIf you only ever buy one MATLAB book then this should be it.  It starts off with a relatively fast paced mini-tutorial that could be considered a sight-seeing tour of MATLAB and its functionality.  Once this is done, the authors get down to the business of teaching you the fundamentals of MATLAB in a systematic,thorough and enjoyable manner.<\/p>\n<p>Unlike some books I have seen, this one doesn&#8217;t just show you MATLAB syntax; instead it shows you how to be a good MATLAB programmer from the beginning.  Your programs will be efficient, robust and well documented because you will know how to leverage MATLAB&#8217;s particular strengths.<\/p>\n<p>One aspect of the Higham&#8217;s book that I particularly like is that they include many mathematical examples that are intrinsically interesting in their own right.\u00a0 This was where I first learned of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Maurer_rose\">Maurer roses<\/a>, <a href=\"http:\/\/en.wikipedia.org\/wiki\/Random_Fibonacci_sequence\">Viswanath&#8217;s constant<\/a> and <a href=\"www-math.mit.edu\/~edelman\/homepage\/papers\/mynato.pdf\">eigenvalue roulette<\/a> for example.\u00a0 Systems such as MATLAB are ideal for demonstrating cool little mathematical ideas and so it&#8217;s great to see so many of them sprinkled throughout an introductory textbook such as this one.<\/p>\n<p>The only downside to the current edition is that the chapter on the symbolic toolbox is out of date since it refers to the old Maple based one rather than the current Mupad based system (See my post <a href=\"https:\/\/www.walkingrandomly.com\/?p=178\">here<\/a> for more details on this transition).\u00a0 This is only a minor gripe, however, and I only really mention it at all in an attempt to give a review that looks more balanced.<\/p>\n<p>Full disclosure:\u00a0 One of the authors, Nicholas Higham, works at the same university as me.\u00a0 However, we are in different departments and I paid for my own copy of his book in full.<\/p>\n<ul>\n<li><a href=\"http:\/\/www.amazon.co.uk\/gp\/product\/0898715784?ie=UTF8&amp;tag=walkingrandom-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0898715784\">Click here to buy this book from Amazon<\/a><\/li>\n<\/ul>\n<h3>MATLAB: A Practical Introduction to Programming and Problem Solving by Stormy Attaway<\/h3>\n<p><a href=\"http:\/\/www.amazon.co.uk\/gp\/product\/0750687622?ie=UTF8&amp;tag=walkingrandom-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0750687622\"><img decoding=\"async\" src=\"https:\/\/www.walkingrandomly.com\/images\/amazon\/51rKKrbmPML._SL160_.jpg\" border=\"0\" alt=\"\" \/><\/a><img loading=\"lazy\" decoding=\"async\" style=\"border: none !important; margin: 0px !important;\" src=\"http:\/\/www.assoc-amazon.co.uk\/e\/ir?t=walkingrandom-21&amp;l=as2&amp;o=2&amp;a=0750687622\" border=\"0\" alt=\"\" width=\"1\" height=\"1\" \/><\/p>\n<p>I haven&#8217;t had this book as long as I&#8217;ve had the Higham book and I haven&#8217;t even completely finished it yet.\u00a0 I am, however, very impressed with it (as an aside, it&#8217;s also the first technical book I ever bought using the iPad and Android Kindle apps).<\/p>\n<p>One of the key things that I like most about this one is that the text is liberally sprinkled with &#8216;Quick Questions&#8217; that give you a little scenario and ask you how you&#8217;d deal with it in MATLAB.\u00a0 This is quickly followed by a model answer that explains the concepts.\u00a0 These help break up the text, make you stop and think and ultimately lead to you thinking in a more MATLABy way.\u00a0 There is also a good amount of exercises at the end of each chapter (no model solutions provided though).<\/p>\n<p>The book is split into two main parts with the first half concentrating on MATLAB fundamentals such as matrices, vectorization, strings, functions etc while the second half covers mathematical applications such as statistics, curve fitting and numerical integration.\u00a0 So, it&#8217;ll take you from being a complete novice to someone who knows their way around a reasonable portion of the system.<\/p>\n<p>Since I first bought this book using the Kindle app on my iPad I thought I&#8217;d quickly mention how that worked out for me.\u00a0 In short, I hated the Kindle presentation so much that I went out and bought the physical version of the book as well.\u00a0 The paper version is beautifully formatted and presented whereas the Kindle version is just awful.\u00a0 It&#8217;s hard to navigate, looks awful and basically makes one wish that they had just given you a pdf file instead!<\/p>\n<ul>\n<li><a href=\"http:\/\/www.amazon.co.uk\/gp\/product\/0750687622?ie=UTF8&amp;tag=walkingrandom-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=0750687622\">Click here to buy this book from Amazon<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Because I spend so much time talking about and helping people with MATLAB, I often get asked to recommend a good MATLAB book. I actually find this a rather difficult question to answer because, contrary to what people seem to expect, I have a relatively small library of MATLAB books. However, one could argue the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[38,11,7],"tags":[],"class_list":["post-2866","post","type-post","status-publish","format-standard","hentry","category-books","category-matlab","category-programming"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-Ke","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/2866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2866"}],"version-history":[{"count":13,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/2866\/revisions"}],"predecessor-version":[{"id":2959,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/2866\/revisions\/2959"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}