Rats. My solution got all the problems right except the last. How is that possible?
William, our results differ for a starting value of 570. I'm not sure why yet.
William, I think I see the reason for the difference now. Let me know if you want a hint.
Aha! I see the problem with 570. Very clever of you to include a case like that!
Thanks but I'd say I was more lucky than clever. A run of periods drew me to that range. You're right that the case of 570 is a good one.
Find all elements less than 0 or greater than 10 and replace them with NaN
linear least squares fitting
7 segment LED display
Convert a vector into a number
Max index of 3D array
Find the zeros of the Bessel function of the first kind
Find terms in the Connell sequence
Compute an integral of an exponential function
Count the primes in Collatz sequences
Compute a sum of Ramanujan
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