Weirdly, the code that finishes the biggest problem in 0.6 sec on my machine will not finish on the server. Is 0.6 sec too long for the server, or is it an error? I'm not clever enough to understanding this, please help.
I met the problem too. Should we use some mathematical characters of the sequence to improve our codes? I'm not quite sure.
Count up then down
Reverse the elements of an array
Create an index-powered vector
Net Present Value of a Stream of Cash Flows
Recaman Sequence - I
Basic Monte Carlo Simulation
Hexagonal numbers on a spiral matrix
Integer to boolean
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