We use the same secret function used on the past "Find my secret function ..."
x=23 -------->> y=3
X=1000 ------->> 163
I cleaned up the test suite so that the forbidden functions are only checked once and reside in their own test case.
Please check the faulty test case 1 where "filetext" is undefined.
The filetext problem has been fixed.
Find common elements in matrix rows
Distance walked 2D
Rotate input square matrix 90 degrees CCW without rot90
Permute diagonal and antidiagonal
Even or Odd
Stop a ZigZag scanning N*N Matrix at any diag you want
Find my secret function III
Find the maxmum value of N*N Matrix
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