MATLAB Basics video: Interleaving data based on unique identifier1

Posted by Doug Hull,

This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user. This video covers how to take data from different matrices and merge it into one bigger matrix based on unique identifiers or a time stamp. This video makes use of the command… read more >>

MATLAB Basics video: Concatenating vectors

Posted by Doug Hull,

This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user. This video covers how to concatenate vectors or matrices, even if they are different lengths. This will help solve this error: ??? Error using ==> horzcat CAT arguments dimensions are not consistent. if (typeof(playerLoaded) ===… read more >>

MATLAB Basics video: Solving linear equations1

Posted by Doug Hull,

This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user. This video covers how to convert two equations into matrix form and then solve them in MATLAB. This is one of the most basic problems in linear algebra. It is handled nicely… read more >>

MATLAB Basics video: Sorting matrices12

Posted by Doug Hull,

This video covers how to sort a matrix, either sorting each column independently or sorting such that the original rows stay together. Most new users are able to find the SORT command without much problem, but the very useful SORTROWS is often missed. if (typeof(playerLoaded) === ‘undefined’) {var playerLoaded = false;}(function… read more >>

MATLAB Basics video: Absolute and Logical indexing3

Posted by Doug Hull,

This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user. This video covers how to use row and column notation to be able to pull a subset of data from a larger matrix. This is a basic skill that is required for… read more >>

MATLAB Basics video: Row and Column indexing3

Posted by Doug Hull,

This is one in a series of videos covering MATLAB basics. It is meant for the new MATLAB user. This video covers how to use row and column notation to be able to pull a subset of data from a larger matrix. This is a basic skill that is required for… read more >>

MATLAB Basics video: Storing data in a matrix from a loop56

Posted by Doug Hull,

I was recently answering a question that came in from a MATLAB user on this blog. In the end, the question was really one where he was doing a calculation and storing the result in scalar Y. When he was done with the loop, he only had the final value… read more >>

Video series: Reading Excel data into MATLAB with a GUI92

Posted by Doug Hull,

I had a chance to work with a MATLAB user that was interested in bringing her Excel data into MATLAB and plotting different variables. This was a fairly standard file format, just columns of data. It was pretty easy to read in the data with XLSREAD: if (typeof(playerLoaded) === ‘undefined’) {var… read more >>

Use case: Visualizing three images5

Posted by Doug Hull,

Here is a question from the front lines of technical support at the MathWorks. This MATLAB user had three images that they wanted to view at once so they could compare them to one another. The problem is that displaying three images at once meant they would all have to be… read more >>

Algorithm development video6

Posted by Doug Hull,

Here at the MathWorks, one of our Core Values is Continuous Improvement. Part of that is about being process oriented- “Clock building is better than time telling.” Following that Core Value to talk about algorithm development, it takes more than just looking at finished algorithms (time telling), you need to look… read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.