# 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. @media (min-width: 992px) { .containing-block { width: 100%;… 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: @media (min-width: 992px) { .containing-block… 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 >>

# Cleaner code in MATLAB part two2

Posted by Doug Hull,

This second video in the cleaner code series talks about magic numbers, and how to avoid them. It also covers naming conventions for function names and binary variables. Use of subfunctions is also shown. @media (min-width: 992px) { .containing-block { width: 100%; } } … read more >>

# Cleaner code in MATLAB part one of series12

Posted by Doug Hull,

I am guilty of making some pretty horrible code from time to time, especially when I think no one else is looking. I wanted to take the next few videos to show how you can go from code that is hard to read and maintain to code you proudly… read more >>

# Automatically generated reports from MATLAB16

Posted by Doug Hull,

This week’s video is covering a relatively new feature of the editor: cell mode. Specifically, I am demonstrating the publication of reports from your code. If you ever need to create documents that have many MATLAB figures and code and would like to be able to update those documents… read more >>

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