By default, GUIDE creates one callback function for every object in a UI. Sometimes, you want to have one callback function serve multiple objects. This video shows one way to do this, by manually… read more >>
By default, GUIDE creates one callback function for every object in a UI. Sometimes, you want to have one callback function serve multiple objects. This video shows one way to do this, by manually… read more >>
If you have a UItable in a UI made in GUIDE, you might want to change that data in a callback. For instance, you might want to change the values or increase the size of the dataset. This short… read more >>
I recently wanted a colormap that was distinctive. I wanted the zero values to be one color while the negative and positive values were different shades. This video shows how to do this… read more >>
Knowing how to use callbacks in MATLAB allows you to customize your graphics and make them more interactive. This short video shows you how to highlight a line in MATLAB by clicking on it. if… read more >>
The profiler is very important when you want to speed up your code. It is nearly impossible to know where the bottleneck will be in your code until it is written and tested. Often times there are… read more >>
Do you need to develop an algorithm in MATLAB? Do you have tests in MATLAB that would tell you if the algorithm were working correctly? If you do, you might not need to actually write the MATLAB… read more >>
This video builds on the last one. A quick monte carlo test is built to see if the Luhn Algorithm really will detect transpositions. The testing indicates that only one pair of numbers transposing… read more >>
The Luhn algorithm is a fast checksum that allows you to know if an entered series of numbers has any of the repeated digits or transpositions that are common when typing numbers in. By having a… read more >>
Recently, a MATLAB user asked me how to build a UI which lets the user display any image in a directory by selecting the name of the image from a pop-up menu. This uses a few concepts like the DIR… read more >>
It is often easier to acquire or generate data than it is to understand the data. In this video, we explore different options for visualizing data to gain better insight to solve a problem…. read more >>