- Computer Science
- Software Development
- Programming Languages
MATLAB: Break Function Script
This content was STOLEN from BrainMass.com - View the original, and get the solution, here!
(See attached file for full problem description)
How would you rewrite the following script without using break?
for p = 7:8
© BrainMass Inc. brainmass.com September 19, 2018, 11:03 am ad1c9bdddf - https://brainmass.com/computer-science/matlab/matlab-break-function-script-48815
for q = 3:5
for r = 1:2
fprintf(' %3.0f, %3.0f, %3.0fn' , p, q, r)
if q = = 4, break; end
A break function script for MATLAB is determined.