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
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
Play the video in full screen mode for a better viewing experience.