How to create this program using matlab

Status
Not open for further replies.

alcharvard

Newbie level 2
Joined
Sep 23, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
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...
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…