Generate 4 positive random numbers. Their summation should be equal to 6776.

1 view (last 30 days)
Example: Generated random numbers are: [ 689 1158 2589 2340], summation is 6776.

Answers (1)

Walter Roberson
Walter Roberson on 7 Apr 2019

Categories

Find more on Random Number Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!