Category Archives: Beginners

Here goes posts for beginners that just started or want to start learning Matlab

Function and sub-functions

Any code written in Matlab needs to be somehow organized. As you grow your program, it becomes essential to write functions. Functions are elementary pieces of computations that take inputs, process them and send the result out. As you can … Continue reading

Posted in Beginners | 2 Comments

A guide to guide : Video tutorial to start making interfaces

Some time ago, I made a post to help folks get started making interfaces with GUIDE, the interface designer provided by Matlab. It occurred to me that a video tutorial would convey a much better experience on this subject. So … Continue reading

Posted in Beginners, Making interfaces | Leave a comment

Computer vs human memory

Memory management is an essential skill that every programmer develops over time. To develop that skill you need to have a sense of how computer memory works. Surprisingly,  memory is not a simple thing. It is actually quite complex and … Continue reading

Posted in Beginners, Various | 4 Comments

Using strings in Matlab

The goal of this post is to introduce you to the usage of strings in Matlab and to help you loosen the knot… Continue reading

Posted in Beginners | Leave a comment

The art of vectorizing – Part 1

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

Posted in Beginners, Optimizing your code | Leave a comment

Preallocation is not an option

As any activity, programming does require that you follow some rules of good practice. In this post, I introduce you to the joy of memory preallocation. Continue reading

Posted in Beginners, Optimizing your code | Leave a comment

Understanding for loops…

This post is about two things. First, it is about Matlab and how to use for loop. Then it is about love and how to spam your girlfriend email address on valentine day. Continue reading

Posted in Beginners | Leave a comment