The most challenging cody problem I have tried so far. Had to teach myself some stuff that I knew little about before, That is a quality indicator!
Thanks, Are. Now try problem 44376. https://www.mathworks.com/matlabcentral/cody/problems/44376
I have tried repeatedly. The code works well and only took 2s max in my computer, but the system keeps outputting error caused by long running matlab code.
Matrix with different incremental runs
Get the elements of diagonal and antidiagonal for any m-by-n matrix
Create a vector whose elements depend on the previous element
Sophie Germain prime
Factorizing a number into a given number of factors
Number construction III
Optimally fill a container with elements of different sizes
Number construction II
Identify the sequence
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