Too many clues are given in the Solution Template.
Also, Problem Statement is inconsistent with Test Suite (and Solution Template). It should say: "Create a function that subtracts b from a" (not "a from b").
SHOULD BE SUBSTRACTS b FROM A
The problem description has been updated.
Make the vector [1 2 3 4 5 6 7 8 9 10]
36222 Solvers
312 Solvers
Longest run of consecutive numbers
1799 Solvers
2583 Solvers
140 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!