Given a function past_records() that will report blood sugar level of two twin brothers some random number of days ago. For example, one call to past_records() may give [77 78]. Another call to past_records() may give [60 48]. Your crystal_ball should create a function second(first) that will predict blood sugar of second brother from blood sugar level of first brother, (within +/-1).
Hint: assume a crystal_ball exists here.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers41
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1780 Solvers
-
Given a window, how many subsets of a vector sum positive
873 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
699 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14396 Solvers
-
612 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!