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 アカウントにサインインするか新しい MathWorks アカウントを作成します。