Category Archives: Advanced

These posts are for those who want to push their Matlab skills to their limit.

Professional deployment of Matlab code

This post marks the one year existence of this blog. I started writing in the hope to help folks get started with Matlab and also help rise the general quality of Matlab codes. Traffic have risen steadily in the last year … Continue reading

Posted in Advanced, Making interfaces | 3 Comments

Using pointers in Matlab

In this post, I first introduce you to the world of pointer and then shows you how to use them in Matlab for real. Continue reading

Posted in Advanced, Optimizing your code | 3 Comments

Child swapping

Today I am going to present a technique that is very useful when you have to manipulate figure windows, reuse them in a different context or concatenate them together. Continue reading

Posted in Advanced, Making interfaces | 3 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 | 2 Comments

How to load Tiff stacks fast, really fast!

Loading Tiff files has been slow for many years in Matlab. Today, I am going to introduce a few lines of codes that will make all of this past history for good. Continue reading

Posted in Advanced, Optimizing your code | 18 Comments

Some places, some rules

In my last post, I talked about using In place computation to limit memory usage of your calculation. I actually did not had the time to mention some important rules and limitations on this mechanism. You would be surprised but … Continue reading

Posted in Advanced, Optimizing your code | Leave a comment

What happen at my place, stays at my place

I recently talked about the Copy on write mechanism. It ensures that, when you copy a variable, memory is handled in an optimal way. I underlined that when you use subfunction, this can be quite useful as you in effect … Continue reading

Posted in Advanced, Optimizing your code | Leave a comment