Tag Archives: for-loop

Investigating code performance in MATLAB – Part 1: For-loop

Here I want to show you a very simple example in MATLAB. Consider we have a large matrix (can be an image also) and we want to perform element-wise operation on the matrix elements. Let’s first create a large matrix: … Continue reading

Posted in Linux, MATLAB, Optimization, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , | 4 Comments

Using Parallel Computation power of MATLAB easily

I want to show you how to use the power of parallel computation in MATLAB by a very simple example. I would write 3 functions first. The first function: Open a new script in MATLAB and enter the code bellow … Continue reading

Posted in Linux, MATLAB, Optimization, programming, Software, Ubuntu | Tagged , , , , , , , , , , , , , , , , | Leave a comment