Category Archives: Intermediate

You know the basics but want to develop your Matlab skills. These posts are for you.

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