-
Matlab – Learning the basics
- 1 – What is Matlab – Why Use It?
- 2 – Command line
- 3 – Matlab editor
- 4 – Plotting data
- 5 – Using variables
- 6 – Variable types
- 7 – Mathematical operators
- 8 – Computer memory
- 9 – Get some help
- 10 – IF – Control flow
- 11 – FOR – Control flow
- 12 – Logical operations
- 13 – Matlab, an interpreted language
- 14 – Preallocation
- 15 – Function and sub-functions
- 16 – Variable scope
- 17 – Using strings
- 18 – Built-in functions
- 19 – The profiler
- 20 – Write clear code
- 21 – Debugging in Matlab
- 22 – Other resources to learn Matlab
- 23 – History of Matlab
Matlab intermediate
- Advanced plotting
- Converting between data types
- Rounding errors
- Using structures and cells
- Recursive functions
- Copy on Write
- Short-circuit operators
- Matlab is column-major
- Using handles
- Error Handling – Try and Catch
- Organize your files
- Encrypting your code
- Making interfaces
- Making interfaces : Video tutorial
- Using GUIDATA
Matlab advanced
- Beautiful Plots in MATLAB
- File created by GUIDE
- Practical considerations on making GUIs
- Programming interfaces
- Gaming in Matlab
- Using pointers in Matlab
- Introduction to Object-Oriented Programming
- Matlab thread and java thread
- How to organize large datasets?
- How to store large datasets?
- Moving figure objects
- Professional deployment
-
Category Archives: Intermediate
The art of vectorizing – Part 3
Following the last post on using repmat to avoid unnecessary for loops, I introduce bsxfun which is a faster alternative to repmat. Continue reading
Posted in Intermediate, Optimizing your code
11 Comments
How to organize large datasets?
Here I present ideas to organize large datasets in Matlab. I propose the usage of trees organization and demonstrate how to achieve that in Matlab with native objects. Continue reading
Posted in Intermediate
5 Comments
The art of vectorizing – Part 2
In a previous post, I introduced you how to vectorize your code. Here I show how to use repmat to process series of elements all at once. Continue reading
Posted in Intermediate, Optimizing your code
9 Comments
Matlab is no longer slow at for loops
Here, I discuss the most widespread piece of knowledge on Matlab : its inherent slowness with for loop. I demonstrate that it is no longer the case, explain why, and discuss some of the consequences of this fact. Continue reading
Posted in Intermediate, Optimizing your code
18 Comments
Draw me now…
In this post, I talk about Matlab calculation thread, Java thread and a very common problem : Why does this stupid call to graphic display is not executed in its time? Continue reading
Posted in Advanced, Intermediate
7 Comments
Advanced plotting in matlab
In a recent post, I introduced you to the joy of plotting in Matlab. Matlab capabilities in this domain are quite large. Today I want to show you how to arrange figures with multiple plots.
Posted in Intermediate
10 Comments
Handle the handles in guidata
Fasten your seatbelts. Compared to my previous posts which were relatively easy, today I am going to talk about something that confuses 90% of the people I know : GUIDATA. Continue reading
Posted in Intermediate, Making interfaces
30 Comments
Gaming in Matlab
I have recently been looking into how to make very advanced and beautiful GUIs in Matlab. To get inspiration on how to push Matlab capabilities, I thought I would look into a domain where the GUI is the primary focus : GAMING. Continue reading
Posted in Intermediate, Making interfaces
14 Comments
Practical considerations on making GUIs
Making interfaces in Matlab is extremely easy and intuitive. Today I want to focus on a few pieces of practical advices to make your interfaces good for others users (ie not only you). Continue reading
Posted in Intermediate, Making interfaces
1 Comment
Guide me in the figure
If you have used the GUIDE, you know that any program will be made of a M-file and a FIG-file. But what exactly is this Figure file? Continue reading
Posted in Intermediate, Making interfaces
Leave a comment