Top-down Program Design(8/14) Testing When we have written a program and it is not working, how do we debugging? >Three types of errors are found in MATLAB programs. √Syntax error Caused by the spelling errors or punctuation errors. >x=(y+3)/2) ?x=(y+3)/2) Error:Unbalanced or misused parentheses or brackets. Solution:Check spelling and punctuation 同濟大学 AW TONGJI UNIVERSITY When we have written a program and it is not working, how do we debugging? ➢ Three types of errors are found in MATLAB programs. ✓ Syntax error Caused by the spelling errors or punctuation errors. Solution: Check spelling and punctuation Top-down Program Design(8/14) Testing