Introduction to Object-Oriented Programming in Matlab

In this long overdue post, I help you get started with Object Oriented Programming (OOP) in Matlab. We start with a little bit of history of OOP, talk about why and when this is useful and turn to few Matlab examples for you to get immediately started.

Continue reading

Posted in Advanced | Leave a comment

How to share your figure in the cloud

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

Today is a special post for a new online tool that hold some very interesting future. It’s about a new online tool from plot.ly, a startup company in Montreal. I like their work a lot and decided it was worth giving them some little pushes as modestly as I can.

The idea is simple : Sharing your figures and plots in the cloud instead of sending good old screenshots.

Continue reading

Posted in Advanced, Beginners, Intermediate, Various | 3 Comments

Recursive functions

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

In this post, I introduced you to the beauty of recursive functions. I believe that these are part of the “basic programming package” that anyone into coding should have been introduced to.

I quickly discuss the theory and their usage along with a few examples.  Continue reading

Posted in Beginners, Intermediate | 3 Comments

The past, present and future of numerical computing

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

This post serves as an introduction to numerical computing as well as a nice overview of the current landscape of numerical calculation. I also present some of my perspectives on the future of the field which could raise general interest, even to long-time and experienced programmers. I don’t intend to be prophetic but I hope to, maybe, generate an interesting discussion on the topic.

Continue reading

Posted in Advanced, Beginners, Intermediate, Various | 5 Comments

Function and sub-functions

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

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 reuse them multiple times, they are essential to provide structure to your program and allow to grow the complexity of it but most importantly make your life easier. In this post, I explain the basics of using functions in Matlab.

Continue reading

Posted in Beginners | 2 Comments

A guide to guide : Video tutorial to start making interfaces

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

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 here it is! In this post, you will find a video tutorial to get started with interfaces in Matlab in 5 minutes!

Continue reading

Posted in Beginners, Making interfaces | Leave a comment

Professional deployment of Matlab code

Original blog illustration by Cali Rossi

Original blog illustration by Cali Rossi

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 as we are touching 900 pages per day of regular traffic for the first time today. Traffic, so far, has seemed to be doubling every 3 months! Whether I meet my goals, I don’t know, but at least this blog seems useful! For today, I chose a subject that fits into that anniversary context as it deals with how to package your Matlab programs for others.

Although Matlab is often used to quickly prototype ideas, professional applications can be done with Matlab. You can, if you want, create high-quality interfaces that benefits from the great calculation engine of Matlab. I found little help on the Internet on that subject (except for Yair’s excellent blog) so I thought it was a good occasion to help filling in the gap. In this post I talk about how to distribute your compiled application to colleagues/clients/friends in a very professional fashion.

Continue reading

Posted in Advanced, Making interfaces | 8 Comments