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

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

  • print


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