Nguyễn Hồng Nhung
New member
What are the contents of a after the following events?
A. Enters debugging mode
B. Error in the command window
C. Error in the function
D. 5
Code:
function p=avg(x)
n = length(x);
Command Window:
>> x=[1 2 3 4 5]
>> dbstop in avg at 2 if length(x)>4
>> a=avg(x)
B. Error in the command window
C. Error in the function
D. 5