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.
Extract leading non-zero digit
It dseon't mettar waht oedrr the lrettes in a wrod are.
Return the first and last character of a string
Television Screen Dimensions
Implement a bubble sort technique and output the number of swaps required
Put two time series onto the same time basis
Encoding Google Maps Polylines
The 17x17 Problem
Find the Final State of an Abelian Sandpile
Beads on a Necklace (Convex Hulls)
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