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.
Generate a string like abbcccddddeeeee
239 Solvers
565 Solvers
Switch matrix to a column vector
266 Solvers
249 Solvers
132 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!