For numerical methods you'll probably be using symbolic maths but you can cover that later when you have a handle on the basics. Once you have a few simple functions under your belt you'll realise that it is not as hard as you first thought. It is also very well documented typing 'help' followed by the function name will give information on how to use it including examples. Matlab is a huge program, with thousands of functions and you will likely only use a tiny fraction of them.īut like I said Matlab is very forgiving if you do something wrong it will through up lots of red text and tell you what is wrong. There will be a number of books on matlab for maths/engineering/chemistry/statistics in any academic library, but they're probably a waste of time (unless you find it easy to learn by reading). Like I said before the best (or at least the way I found easiest) is to learn by doing. So start by looking through a few of them to get the grips of the very basics, assigning variables doing maths plotting results. Most universities will have a page like this one outlining the matlab basics for taking their course. There's no compiling or worrying about loading libraries, its more a press enter (or run) and get the results.Ī quick google for 'matlab basics' gave me this: I have entirely taught myself Matlab and it seems daunting at first but if you don't know how to do a task, just google it there are so many stack overflow / forum posts on pretty much every topic.Īs mostlywaiting points out MATLAB isn't good for teaching good coding practices, however, that being said it is probably what makes it much more accessible than many other languages out there. Once you have a basic grasp of the matlab syntax then learning to use specific tool should be easy. So pick a problem you want to solve, for example make a blackjack simulator, whereby two hands are dealt in a standard blackjack fashion and see who wins. So as long as you understand standard matrix operations you should be fine. The only difference in Matlab to something like C or Fortran is everything is pretty much done in Matrix form (hence the name MATrix LABoratory). That is if you understand if, while for statements. How are you at coding in general? If you have the basic knowledge of coding logic you should be fine. Learning from example problems gets boring pretty fast and you don't really use your initiative. You can teach yourself any language through crash courses and books, but I find the best method is to have a problem you want to solve and find the way to do it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |