Your task is to write a function that takes a set of statistical metrics and generates a vector 'x' of integers that satisfies these statistical metrics.
Input Arguments:
n - Number of elements (scalar)
t_sum - Target sum (scalar)
t_min - Target minimum value (scalar)
t_max - Target maximum value (scalar)
t_mean - Target mean (scalar)
t_median - Target median (scalar)
t_std - Target population standard deviation (scalar)
t_mode - Target mode (scalar)

Solution Stats

1 Solutions

1 Solvers

Last Solution submitted on Oct 03, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers1

Suggested Problems

More from this Author1

Problem Tags

Community Treasure Hunt

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

Start Hunting!