Stuart’s MATLAB Videos

Watch and Learn

Debugging a Tricky Look-up Table Indexing Problem

This morning I needed to debug an issue with a regularly used script. The code was converting numerical columns in a table to strings or categoricals by using a lookup table. I had a few levels of indirection which made it more complicated to understand what was going on. Breaking a calculation up into small steps can often help in this situation.

Features covered in this code-along style video include:

  • Structures, tables , categorical arrays and cell arrays
  • Logical indexing

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

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

    |
    • print

    Comments

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

    Loading...
    Go to top of page