Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the function should give 'NaN'.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers29
Suggested Problems
-
Remove any row in which a NaN appears
8790 Solvers
-
How to find the position of an element in a vector without using the find function
2821 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2060 Solvers
-
971 Solvers
-
Deleting an element in a matrix
497 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!