This Challenge is to compress an array created by randi(2^32-1,1000) and then decompress your data file.
The first call will provide the array x. The output is the filename of the data encoded file.
The second call will provide the filename. The output is the numeric array by decoding the file.
Success: File size less than 4,100,000 bytes and a correct decoded array.
Scoring: Scaled file size.
Encode Call:
Input: x % randi(2^32-1,1000)
Output: filename
. .
Decode Call:
Input: filename
Output: x_array
Note: global and persistent are not allowed. Unexpected files will cause a Virus Detect Failure.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers13
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15806 Solvers
-
Sort a list of complex numbers based on far they are from the origin.
5810 Solvers
-
Is my wife right? Now with even more wrong husband
1346 Solvers
-
Matrix with different incremental runs
131 Solvers
-
When can one be the Life Member of the IEEE?
74 Solvers
More from this Author306
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!