As it stands, this problem only requires that the function return a single number. Please add additional test cases and rephrase the problem in general terms so that the function output must depend on its inputs.
376 Solvers
260 Solvers
203 Solvers
320 Solvers
Replace every 3rd element in a vector with 4
170 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!