This six minute video shows you how to use the debugger and other tools to step through complicated code and understand what is really going on. By taking a complicated expression and breaking it into smaller pieces, you will have a better idea of what is really going on.
This is a really useful tutorial!
Matlab’s debugger is made very easy and powerful.
Thanks