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.
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。