Can you give us any hints? I tried findobj() but can't make progress!
You are on the right track with findobj(). The trick is what the call to "legend" does to the objects that make the solution very simple.
Find the longest sequence of 1's in a binary sequence.
3417 Solvers
497 Solvers
75 Solvers
Create a square matrix of multiples
385 Solvers
find the maximum element of the matrix
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!