Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. for example: x= [1 2 3]; dif=321 -123=198;
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers37
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1988 Solvers
-
Omit columns averages from a matrix
618 Solvers
-
Implement simple rotation cypher
1095 Solvers
-
396 Solvers
-
670 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Test Suite #3 is not correct.