- ►Learning Matlab
- ►Making interfaces
- ▼Optimizing your code
- Auto-contrast: an optimization example where Matlab beats Matlab
- Choose your variables wisely...
- Code is poetry
- Columns and Rows are not the same
- Copy on Write
- Copy on Write in subfunctions
- How to load Tiff stacks fast, really fast!
- Inline your lines
- Look for the loop
- Mathworks has listened to our TIFF prays!
- Matlab is no longer slow at for loops
- On fractal graphics
- Preallocation is not an option
- Some places, some rules
- The art of vectorizing - Part 1
- The art of vectorizing - Part 2
- The art of vectorizing - Part 3
- The secret rule for good Matlab code
- Using pointers in Matlab
- Waiting for the waitbar
- What happen at my place, stays at my place
- What's the difference between AND and AND AND?
Category Archives: Optimizing your code
For this post, we are glad to have Thierry as a guest blogger. He talks about an optimisation example he recently encountered that is a good indirect example of ‘inlining‘. As my first post here, I will first describe a standard … Continue reading
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
I just want to leave a short note : Mathworks just released a new version of their Tiff libraries to improve performance on all Matlab since 2009b with Tiffs! Continue reading
Following the last post on using repmat to avoid unnecessary for loops, I introduce bsxfun which is a faster alternative to repmat. Continue reading
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
Vectorizing is the art of transforming a calculation done element by element into an operation on vectors. Here I start a serie of posts on how to vectorize your code. Continue reading