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.
128 Solvers
Numbers with prime factors 2, 3 and 5.
166 Solvers
75 Solvers
How long is the longest prime diagonal?
338 Solvers
Mirror Image matrix across anti-diagonal
111 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!