Asif, Thanks for another nice problem.
I think the description would be improved if it said the "red shaded portion", because there are two shaded portions in the drawing.
Return the largest number that is adjacent to a zero
3770 Solvers
Create a square matrix of multiples
385 Solvers
Compute a dot product of two vectors x and y
754 Solvers
311 Solvers
174 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!