You start with a Function Template that is only two characters away from working properly. The math itself is fairly simple. The actual problem is understanding the purpose of the function despite the somewhat criminal coding style.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers19
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3074 Solvers
-
How to find the position of an element in a vector without using the find function
2823 Solvers
-
1636 Solvers
-
How many trades represent all the profit?
620 Solvers
-
1230 Solvers
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Not sure if it is exactly 2 characters away from working properly