- #1

thestrong

- 9

- 0

## Homework Statement

clear all;

close all;

totalanswers=zeros(100,4);

k= ;

flag =0;

for i =0:25

a=i;

if flag ==1

break;

end

and so forth for a,b,c,d, etc for a finite set of values all have the break values too.

x=[ a,b,c,d];

does some math calculationhere is a true statement to see if conditions are met

if (true == 1)

answers=[a,b,c,d]

if (answers ~=[previous ones])

flag = 1;

break;

## The Attempt at a Solution

**I need a way to store all the set of variables [a,b,c,d] that satisfy the conditions in totalanswers and to continue to run after one has been found.**