Problem 1768. normalize group of numbers to integers
Hi guys! I have a group of 4 numbers x,y,z,w which comes from 4 integers multiplied with a common factor. [x,y,z,w] = c [i,j,k,l]. How can I find i,j,k,l? Thanks.
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 5 Sep 2020
The common factor must be an integer too, or else there is no way to find it without more parameters; defining the step and search interval for instance. Currently, any multiple of 5 would produce a valid "restored vector" for the only available test. The problem also needs a better test suite. It's a good problem.
Solution Comments
Show commentsProblem Recent Solvers55
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1036 Solvers
-
309 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
553 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
617 Solvers
-
Create a two dimensional zero matrix
475 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!