This should be quite straightforward but at 2a.m. my brains are not working 100%. ;)
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
1398 Solvers
Similar Triangles - find the height of the tree
203 Solvers
Wind outward from the center ...
67 Solvers
Find the largest value in the 3D matrix
1056 Solvers
Determine if input is a perfect number
145 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!