Stuart’s MATLAB Videos

Watch and Learn

Large Table Building That Requires Scalar Operations

Recently I have been using MATLAB tables a lot to store large heterogeneous datasets. In many cases, the rows contain information about files in a file system. As I need to access the files sequentially, I can’t vectorize the code that constructs the table. Instead I need to build it one row at a time.

Here I review a few methods for building large MATLAB tables that require scalar operations like this, and I compare the relative speed of these methods.

See documentation on MATLAB tables for more information.

  • print
  • send email


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.