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

16 Solutions

12 Solvers

Last Solution submitted on Jun 06, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers12

Suggested Problems

More from this Author325

Community Treasure Hunt

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

Start Hunting!