While we here at Matlabtips appreciate you visiting our blog, we would like to take one post and introduce a few other great online resources for beginners and advanced users alike to learn more about Matlab. We hope that you can use other sites for help when you are stuck or to just pick up some new Matlab skill.
With that, we’ll start with the official source – straight from The MathWorks:
Official Matlab Documentation, Examples and Answers:
When looking up how to use some new function, I usually first find myself in the official Matlab documentation. This is a great first stop since it shows you the proper syntax (arguments, parameters, outputs) to use specific functions. Some document pages even include helpful examples to get you started. For more in depth usage examples – past just single function calls – I would suggest checking out the examples page on MathWork’s site. They often have relevant and topical examples and cover a variety of topics. Finally, if you are really stuck on something, head over to the Matlab Answers site. This community driven forum is very helpful in providing answers to your specific questions. I typically exhaust all of my “Google-Fu” before asking a question here. I’ve found that usually someone has already had the exact same problem.
Pros: Information on all available functions (not necessarily functionality!) that Matlab has to offer
Cons: Some of the language used is not always easy to understand for beginners, the vast number of resources available on this site sometimes makes it easy to get lost
MIT offers a free Introduction to Matlab course that mirrors an actual in-person class. This course includes things like lecture notes and assignments to help beginners to pick up the language and concepts in a familiar class-like structure. For a beginner course, this resource actually covers a wide range of topics from scripts and scope to symbolics and GUIs. Of course, with all this crammed into 5 lectures, nothing can be too in depth. At the same time though, a 5 lecture course to get beginners up and running is a very reasonable starting point.
Pros: Great starting point for beginners, covers multiple topics without too many pages of information
Cons: Not very useful for advanced users
Numerical Computing with Matlab by Cleve Moler
This book is written by the creator of Matlab and goes over many academic uses of Matlab (think eigenvalues, control theory, ODEs). This kind of resource would do well for those of you who are more comfortable with learning at a very structured pace such as that offered by a textbook. Though you won’t get into super advanced topics, it is certainly a very good starting point.
This blog shares many parallels with Matlabtips. It offers a breadth of information for all levels of users and includes a hefty bunch of code with each example. They also do a good job of explaining how you would go about performing some of the more common computations done in Matlab.
Pros: Very comprehensive coverage to get started with Matlab.
Cons: Website is a little cluttered with a lot of information. Some tables of functions are provided without much introduction.
This blog is geared more for advanced users and –as the name suggests- exposes some of the undocumented features in Matlab. The author of this site, Yair Altman, is an extremely bright developer and hopes to show the greater Matlab community how to make Matlab do things that you normally would not think it could do. At the very least, it’s a great resource for more advanced users to find out new ideas to use in their future projects. One thing to note is that many posts dig a little bit into Matlab’s underlying Java components, so it would be helpful if you’re comfortable tinkering ‘under the hood.’ Undocumented Matlab releases a new post approximately every week allowing readers to pick up a quick new tip and learn more about the awesome power of Matlab.
Pros: Weekly updates that are quick to read and implement, offers Matlab functionality that can’t be found elsewhere on the web
Cons: Not great for beginners, must be careful when using these tips for future-proof software
Loren on the Art of MATLAB
Here is another blog that I would classify as catering to a more advanced user. The author, Loren Shure, is a MathWorks employee who works on developing the Matlab language. She regularly updates her blog with a variety of examples. A lot of her posts focus on efficient use of the language, capitalizing on new features, and using real-world examples. As you may have assumed, these posts are more focused on documented parts of the language and does not so heavily rely on knowledge of the background java processes
Pros: Focuses on good programming practice and how to make the most out of the Matlab language, includes lots of code and commentary to help you understand what’s actually going on
Cons: Not many beginner level posts
Matlab Cody is a sort of game offered by the MathWorks that I think it is a fantastic resource for someone who is looking to quickly pick up programming in general. Cody works like this: You are given a list of programming problems to solve (almost like puzzles). As you correctly complete these problems, you will get access to harder and more intricate questions. The reason I like this resource so much is because it really compels you to practice programming. Learning to program in the classroom is helpful to learn the theory and how to start going about a particular problem. I think that in order to actually learn programming, the only way is to do it – and do a lot of it! These kind of challenges really help beginners build up both their programming syntax skills, program design skills, and general programming problem solving skills.
Pros: Very compelling method to practice and continue to practice your programming. Lets you actually do something rather than just reading blog posts, lecture notes, or documentation notes.
Cons: Although there are a few more advanced questions, it is more geared towards beginners, need to have another resource to learn background theory and concepts
Although this is a bit more of an unconventional learning resource, I think it has some real value. This subreddit is designated especially for all levels of Matlab users. It’s a nice resource because it includes a whole bunch of variety in content. You can get feedback on your work, ask a question, or share some Matlab jokes. It’s also nice to be able to comment on others’ posts who are facing a problem you’ve already tackled in the past.
Pros: Fairly active user community, lots more interaction than other conventional resources, very helpful for solving specific problems
Cons: Some questions do go unanswered, not too many in-depth tutorials or examples
Many programming questions (in just about any language) will lead you to StackOverflow. This question based forum is great for all levels of users who are looking for some help in their Matlab development. If you’re stuck trying to figure out how to do something – this is a great place to turn to.
Hopefully you can use these Matlab resources in addition to the posts found here at Matlabtips to further your Matlab knowledge. Please comment below with any other good Matlab resources that you’ve come across.