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.
Make a checkerboard matrix
Convert a numerical matrix into a cell array of strings
Back to basics 19 - character types
Choose the best fitting dominoes
Flag largest magnitude swings as they occur
Knots Contest: Score (TestSuite)
PACMAT 08 - Awesome Tunneling Ghosts, 2X Speed, 6 Lives, Game Download
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
GJam 2017 Kickstart: Leader (Small)
GJam March 2016 IOW: Cody's Jams
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office