In test #2: 43 = 3+2*20, I've got frob = 37. In test #3: 207 = 17+10*19. I've got frob = 175;
Got same results with Jan.
My apologies gentlemen! I rushed this into print yesterday afternoon. Thanks for the reference Peng. I have fixed the offending answers.
Replace NaNs with the number that appears to its left in the row.
Determine if a Given Number is a Triangle Number
Maintain shape of logical-index mask
Replace Nonzero Numbers with 1
Find the stride of the longest skip sequence
The 17x17 Problem
Find the Next Legal Move in Reversi
Is this group simply connected?
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