Cody, unfortunately, is not recognizing the sinc function of the image processing toolbox. Usage of sinc make for nice tight code
The usage of nan as a solution has required imposing an additional check. The Challenge intent was to use sinc but Cody is sinc-less thus a 0 divide check is required.
Khaled solves the Zero divide dilemna.
Isn't this a known trick?
Solutions with no fixup for sin(0)/0 cheat a little (since NaNs are ignored in max(...)<0.01)--this solution cheats a lot.
ha, good catch!
Vitaly makes beautiful usage of complex to find the radial distance.
409 Solvers
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
142 Solvers
Find third Side of a right triangle given hypotenuse and a side. No * - or other functions allowed
147 Solvers
How long do each of the stages of the rocket take to burn?
79 Solvers
500 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!