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 Solvers40
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53454 Solvers
-
1443 Solvers
-
Compute a dot product of two vectors x and y
1056 Solvers
-
537 Solvers
-
Replace every 3rd element in a vector with 4
267 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.