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.
Return the 3n+1 sequence for n
7 segment LED display
Duplicate each element of a vector.
Create a matrix from a cell
Create a random logical vector of N elements of which M are true.
Make a run-length companion vector
Find the biggest empty box
MatCAT - Reconstruct X from Its X-rays
Find the stride of the longest skip sequence
Would Homer Like It?
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