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.
Matrix indexing with two vectors of indices
488 Solvers
Flag largest magnitude swings as they occur
582 Solvers
Split a string into chunks of specified length
477 Solvers
420 Solvers
354 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!