Learning Matlab

This page organizes my posts for beginners and advanced users. If you follow the chosen order, you should gradually get a good understanding of how Matlab works and what you can do with it. Examples are provided everywhere to make your learning more entertaining. I update this list regularly with new posts. I hope to slowly build a coherent ensemble of ressources to learn Matlab very efficiently.

Learning the basics to GET STARTED

  1. A short introduction on the past, present and future of numerical computing should set the stage for you.
  2. To start you should first launch matlab and see what you can do with the command line.
  3. Learn how to use the editor.
  4. Learn on how to display data on a figure.
  5. But, hold on, what is a variable, exactly.
  6. Look into what are the various datatypes available to you.
  7. The few mathematical operators you need to know (to be done).
  8. The various types of memory in a computer and how Matlab uses them.
  9. Learn how to use the help (to be done).
  10. Using conditional control flow.
  11. Using loop control flow, like for loops, or while loops.
  12. Spend some time on what it means to use an interpreted language, like Matlab.
  13. Limit your memory usage and preallocate.
  14. Creating functions and sub-functions.
  15. Using strings in Matlab.
  16. From a file to a variable to a file (to be done).
  17. Matlab provides you with a set of functions. Some are built-in, some not. You need to understand what it means to you.
  18. This is very important to your matlab future : learn how to use the profiler.
  19. Look at some of my tips to write clear code that anyone can understand in Matlab.

LOOKING SERIOUSLY INTO IT

  1. Look into how to make advanced plots in Matlab.
  2. How to convert between data types (to be done).
  3. Structure and cells can become handy in many cases.
  4. Dynamic field names and structure (to be done).
  5. If you have never heard of recursive functions, you should read my post on it.
  6. Learn about how Matlab organize its memory usage and the apparent lack of pointers.
  7. TIC/TOC versus the profiler (to be done).
  8. What is a short-circuit operator?
  9. Columns and Rows are not the same in matlab. This will teach you a little on organization of arrays.
  10. Learn how to use handles in your programs.
  11. How to organize your files to grow your program.
  12. How to encrypt your M-file to share your code in a safe way.

MAKING USER INTERFACES FOR YOUR PROGRAM 

  1. Learn how to use GUIDE to make interfaces : Using the Video tutorial or the Text tutorial.
  2. When you start using interfaces, it becomes very important to understand how to use handles in Matlab.
  3. GUIDATA is quite a counterintuitive function. I explain it all.
  4. Passing data from GUI to GUI (to be done).
  5. The M-code created by the GUIDE is a little bit mysterious. This explains it all.
  6. Take a look at some important point if you wish to share your interface with others.
  7. Making interfaces without the GUIDE.
  8. Before you go in very advanced GUIs, look into what has done some programmers to do Games in Matlab.

LOOKING VERY SERIOUSLY INTO IT

  1. The timer object (to be done).
  2. Using pointers in Matlab.
  3. An introduction to Object oriented programming in Matlab.
  4. Matlab thread and Java thread.
  5. Organizing large datasets in Matlab.
  6. Store large datasets in Matlab.
  7. File/folder organization of Matlab distribution (to be done).
  8. Advanced usage of figure parent and children.
  9. Loading binary files in Matlab (to be done).
  10. Matlab and MultiThreading (to be done).
  11. Using the graphic card (GPU) to do processing (to be done).
  12. Deploying your Matlab application out of Matlab (to be done).
  13. Distributing your deployed code.

8 Responses to Learning Matlab

  1. Glenn says:

    This is a great blog. I’ve been looking to brush up on matlab and you cover everything clear an concisely. Great job, I can’t wait to see the final product.

  2. mangal das says:

    good job ,you have described pca in a nice manner. full marks!!!

  3. M.RAVINDER says:

    good job and great information is available for MATLAB beginners.

  4. PLuz says:

    This blog is outstanding! Many, many, thanks. I just recently started learning MatLab and this blog is top on my bookmarks. Thank you for your time and work. Can’t wait for the “to be done” posts are concluded.

  5. Ali Ibrahim says:

    Dude , you are awesome !! thanks for the great effort ..

  6. Tung says:

    hi guys.
    I have a problem about simulation MiMO MC-CDMA system with code Matlab, If guys have a code please send me?
    many thank, sorry for disturb
    my email: tung.hust91@gmail.com

Leave a Reply