Doddy -- I think the bottom row of y_correct in problem 4 (x = 7) is incorrect.
I have checked again and they are correct. By the way, the test cases have been checked by MathWorks before I can publish the problem. If you already get a generic formula for the previous cases, it should work for x=7 as well. Hint: There are two other mathematical constants involved in the solution.
I think when x=7,the y(7,1)is 62 not 61
Distance walked 2D
Better bullseye matrix
Numbers with prime factors 2, 3 and 5.
"Low : High - Low : High - Turn around " -- Create a subindices vector
Get all prime factors
Number Puzzle - 058
Number Puzzle - 097
Number Puzzle - 081
Prime Magic Squares
Number Puzzle - 035
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