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.
Construct a string from letters and counts
Converting Decimal to Binary
Longest run of consecutive numbers
Create logical matrix with a specific row and column sums
Magic is simple (for beginners)
Spot the rectangle
Fix the last element of a cell array
How long is the longest prime diagonal?
MatCAT - Reconstruct X from Its X-rays
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