alcharvard
Newbie level 2
Create a MATLAB function file that will accept a modulo values (from 3 to 9; that is Z3 to Z9) and
will output the least possible value describe by the modulo conditions.
Sample Simulation:
>> Z = [ 3 4 5 ]; % Modulo Z3, Z4, and Z5
>> r = [ 2 1 4 ]; % Remainder Values
>> Least Possible Value is 29.
The Z inputs must be a matrix ... where in you can type any number from 3 to 9 .... and you can type 3,4,5,6,7,8,9 in any order, in any pairs or groupings ...
The r inputs should be equal to the number of z inputs too...
the output should yield the least possible value though modulo conditions...
will output the least possible value describe by the modulo conditions.
Sample Simulation:
>> Z = [ 3 4 5 ]; % Modulo Z3, Z4, and Z5
>> r = [ 2 1 4 ]; % Remainder Values
>> Least Possible Value is 29.
The Z inputs must be a matrix ... where in you can type any number from 3 to 9 .... and you can type 3,4,5,6,7,8,9 in any order, in any pairs or groupings ...
The r inputs should be equal to the number of z inputs too...
the output should yield the least possible value though modulo conditions...