Since MATLAB fi nds its application in large scientifi c applications, program execution
time becomes an important issue. MATLAB provides you with a profi ler that helps you
identify where your program spends the maximum amount of time. The M-Lint code
report provides you with information of whether a line was accelerated or not, and if not,
what was the reason. This helps you to modify your code to make it run faster.
EXERCISES
8.1. This problem is for trying out the debugging feature in MATLAB’s editor. Open a new
M-fi le within the MATLAB editor. Type the following script into the M-fi le and save the
M-fi le as debug1.m in your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.