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

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

  • print


要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。