There exists one logic in between input and output. Find it (easy math).
Example 1:
x=13 then y=339;
Example 2:
x=26 then y=1353;
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers306
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2073 Solvers
-
914 Solvers
-
Determine the number of odd integers in a vector
861 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1285 Solvers
-
convert matrix to single column
440 Solvers
More from this Author13
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!