Problem 44762. Find The Difference
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
Alan
on 11 Nov 2018
Test Suite #3 is not correct.
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
Swap the first and last columns
22449 Solvers
-
Set the array elements whose value is 13 to 0
1431 Solvers
-
641 Solvers
-
Find the maximum two numbers of every column of a matrix
227 Solvers
-
Remove element(s) from cell array
1966 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!