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 (column header) for each row where the value is true.

Features covered in this code-along style video include:

  • find
  • Table indexing

Video Player is loading.
Current Time 0:00
Duration 16:09
Loaded: 0.00%
Stream Type LIVE
Remaining Time 16:09
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

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

    |
    • print

    댓글

    댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.

    Loading...
    Go to top of page