Stuart's MATLAB Videos

Watch and Learn

Extracting the Variable Names of a Logical Table

I have a table of logical data, with only one true in a row. I want to find the variable name (the column header) for each row where the value is true.

The Features covered in thisCode - alongStyle video include:

  • The find
  • Table indexing

Play the video in full screen mode for a better viewing experience.

|

comments

To comment, please clickhereLog in to your MathWorks account or create a new account.