Question: AnotherSum = 0; % Tricky question ! % sum (n) is the MatLab function AnotherSum = 0; for n = matrix % careful of Matrix
AnotherSum = 0; % Tricky question ! % sum (n) is the MatLab function AnotherSum = 0; for n = matrix % careful of Matrix AnotherSum = AnotherSum + sum (n); End AnotherSum >> % Another tricky question % Run the code in order. % How many times does it do the % outer loop. % Careful where the is used for s = 2:3 for t = Matrix(1, :) fprintf (' XXXX ') for t = Matrix (:, 1) fprintf (' %4. 0 f ', t(s)) end fprintf (' ') end >>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
