MATLAB - MATLAB Technical Computing Practice Test

โ–ถ

Free MATLAB Programming and Scripting Questions and Answers

Free ยท Instant Results

What is the final value of the variable `total` after the following MATLAB code is executed? ```matlab total = 0; data = [10, -5, 20, 0, -15, 30]; for k = 1:length(data) if data(k) < 0 continue; end total = total + data(k); end disp(total); ```
โ–ถ Start Practice Test