{"id":181,"date":"2009-04-21T14:51:44","date_gmt":"2009-04-21T14:51:44","guid":{"rendered":"https:\/\/blogs.mathworks.com\/loren\/2009\/04\/21\/learning-matlab\/"},"modified":"2016-11-10T20:22:28","modified_gmt":"2016-11-11T01:22:28","slug":"learning-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/loren\/2009\/04\/21\/learning-matlab\/","title":{"rendered":"Learning MATLAB"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p>Do you learn best by reading, watching, or doing?  I do best with a combination of all three for learning technical material.<\/p>\r\n   <\/introduction>\r\n   <h3>Contents<\/h3>\r\n   <div>\r\n      <ul>\r\n         <li><a href=\"#1\">First Step - Motivation<\/a><\/li>\r\n         <li><a href=\"#2\">Second Step - Grab Code and Modify<\/a><\/li>\r\n         <li><a href=\"#3\">What's Your MATLAB Learning Style?<\/a><\/li>\r\n      <\/ul>\r\n   <\/div>\r\n   <h3>First Step - Motivation<a name=\"1\"><\/a><\/h3>\r\n   <p>For me, the first step in learning is finding out that some feature or technique exists.  This often happens in a seminar\r\n      or a discussion, sometimes by reading a paper.  For me it helps if there's motivation to give me some context.  And it's especially\r\n      helpful if there's an example solving a problem similar to one I want to solve!\r\n   <\/p>\r\n   <h3>Second Step - Grab Code and Modify<a name=\"2\"><\/a><\/h3>\r\n   <p>Having decided it's time to learn about some particular algorithm or some feature, what to do next?  For some, the first instinct\r\n      will likely be to search the web looking for code or references.  If I already have the software, I tend to look in the documentation,\r\n      and, if possible, find example code close enough to what I hope to do.  I then make a copy and modify from there.  But that's\r\n      just my learning style.\r\n   <\/p>\r\n   <h3>What's Your MATLAB Learning Style?<a name=\"3\"><\/a><\/h3>\r\n   <p>I'm guessing since you are reading this blog that reading examples is at least partially help to you.  There are some other\r\n      resources, beyond <a href=\"https:\/\/blogs.mathworks.com\/\">all the blogs<\/a> and <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/\">code<\/a> on MATLAB Central.\r\n   <\/p>\r\n   <p>I've mentioned Cleve's books <a href=\"https:\/\/blogs.mathworks.com\/loren\/2009\/02\/17\/experiments-with-matlab-the-book\/\">here<\/a>. In addition to examples, videos and demos on <a href=\"https:\/\/www.mathworks.com\">The MathWorks web site<\/a>, there is now a <a href=\"http:\/\/www.youtube.com\/MATLAB\">MATLAB Channel<\/a> on YouTube.\r\n   <\/p>\r\n   <p>How do you learn best?  Where do you go for your MATLAB information? Post your thoughts <a href=\"https:\/\/blogs.mathworks.com\/loren\/?p=181#respond\">here<\/a> and please include links to any additional valuable references you use for learning MATLAB.\r\n   <\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_ab54b0cf64bf4dfc8fdc1e44744b0b95() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='ab54b0cf64bf4dfc8fdc1e44744b0b95 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' ab54b0cf64bf4dfc8fdc1e44744b0b95';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Loren Shure';\r\n        copyright = 'Copyright 2009 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_ab54b0cf64bf4dfc8fdc1e44744b0b95()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.8<br><\/p>\r\n<\/div>\r\n<!--\r\nab54b0cf64bf4dfc8fdc1e44744b0b95 ##### SOURCE BEGIN #####\r\n%% Learning MATLAB\r\n% Do you learn best by reading, watching, or doing?  I do best with a\r\n% combination of all three for learning technical material.\r\n%% First Step - Motivation\r\n% For me, the first step in learning is finding out that some feature or\r\n% technique exists.  This often happens in a seminar or a discussion,\r\n% sometimes by reading a paper.  For me it helps if there's motivation\r\n% to give me some context.  And it's especially helpful if there's an\r\n% example solving a problem similar to one I want to solve!\r\n%% Second Step - Grab Code and Modify\r\n% Having decided it's time to learn about some particular algorithm or some\r\n% feature, what to do next?  For some, the first instinct will likely\r\n% be to search the web looking for code or references.  If I already have\r\n% the software, I tend to look in the documentation, and, if possible, find\r\n% example code close enough to what I hope to do.  I then make a copy and\r\n% modify from there.  But that's just my learning style.\r\n%% What's Your MATLAB Learning Style?\r\n% I'm guessing since you are reading this blog that reading examples is at\r\n% least partially help to you.  There are some other resources, beyond \r\n% <https:\/\/blogs.mathworks.com\/ all the blogs> and\r\n% <https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/ code> on MATLAB Central.\r\n%\r\n% For people new to MATLAB, you can get a great start\r\n% <https:\/\/matlabacademy.mathworks.comlaunchpad.html here>.\r\n% \r\n% I've mentioned Cleve's books\r\n% <https:\/\/blogs.mathworks.com\/loren\/2009\/02\/17\/experiments-with-matlab-the-book\/ here>.\r\n% In addition to examples, videos and demos on <https:\/\/www.mathworks.com The MathWorks web site>,\r\n% there is now a <http:\/\/www.youtube.com\/MATLAB MATLAB Channel> on YouTube.\r\n%\r\n% How do you learn best?  Where do you go for your MATLAB information?\r\n% Post your thoughts\r\n% <https:\/\/blogs.mathworks.com\/loren\/?p=181#respond here> and please include\r\n% links to any additional valuable references you use for learning MATLAB.\r\n\r\n\r\n\r\n##### SOURCE END ##### ab54b0cf64bf4dfc8fdc1e44744b0b95\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      Do you learn best by reading, watching, or doing?  I do best with a combination of all three for learning technical material.\r\n   \r\n   Contents\r\n   \r\n      \r\n  ... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/loren\/2009\/04\/21\/learning-matlab\/\">read more >><\/a><\/p>","protected":false},"author":39,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[25,13],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/181"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":2103,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/posts\/181\/revisions\/2103"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/loren\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}