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 Solvers27
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6698 Solvers
-
Create tangent function out of cosine only
96 Solvers
-
2100 Solvers
-
1118 Solvers
-
Converts numbers into characters
2056 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!