You will get the vector "v", you should put it's length in a variable called "lngth", then...
If it's length from 1 to 5, sz = "Small".
If it's length from 6 to 10, sz = "Medium".
If it's length from 11 to 15, sz = "Big".
Else, sz = "No size".

Solution Stats

121 Solutions

55 Solvers

Last Solution submitted on Jul 14, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers55

Suggested Problems

More from this Author36

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!