MATLAB can perform complicated math on matrices with a succinct syntax (so that you do not need to include for loops to iterate over an entire matrix to do the same calculation on all of its elements. Feel free to refer to it if you like for your personal knowledge as you use MATLAB in your research, but you won’t need to know all of the information contained therein for this class. I have included a document “mtt.pdf” (“MATLAB Tips and Tricks”) that a group of MATLAB users on the internet put together a number of years ago describing various techniques to manipulate matrices and arrays in MATLAB in the fastest and most efficient way. This set of notes can only start to describe all the things you can do with MATLAB. This lab will focus on a number of things in using matrix operations, including use of the colon ( :) operator in MATLAB, which is one of its most powerful, yet often tricky, elements. We have seen a taste of matrix manipulation in our experience with Python indexing for lists and strings, and MATLAB has similar capabilities. This includes doing matrix math (addition, multiplication, etc.), and how we can view the data that is in a matrix. One powerful capability in MATLAB is the way that you can manipulate and view matrices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |