Least possible value for a modulo with given remainders

3 vues (au cours des 30 derniers jours)
Riven Yvet
Riven Yvet le 8 Déc 2015
Hello guys. Im just asking how do you code a program that gets the LEAST value of a given modulo and remainder. Say example
Z = [3 4 5]
R = [2 1 4]
The inputs will give an output that gives the LEAST possible value for the given. So the answer to the above is 29.
  3 commentaires
Riven Yvet
Riven Yvet le 9 Déc 2015
Umm since i am given 3 modulos with remainders, there are a lot of possible values for that. How do i get the least possible though?
Riven Yvet
Riven Yvet le 9 Déc 2015
I can input any values of the modulo and remainder. the above is just an example input.

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by