Write a function that takes a vector of real numbers and multiplies them by a factor to produce the integers with the smallest absolute value. For example, if the input vector is [3/4 5/6 7/10], the output should be [45 50 42]; that is, the input vector should be multiplied by 60.

Solution Stats

15 Solutions

11 Solvers

Last Solution submitted on Apr 27, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers11

Suggested Problems

More from this Author323

Community Treasure Hunt

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

Start Hunting!