Least possible value for a modulo with given remainders

2 次查看(过去 30 天)
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 个评论
Riven Yvet
Riven Yvet 2015-12-9
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 2015-12-9
I can input any values of the modulo and remainder. the above is just an example input.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by