I can solve the simpler test cases, but how do you handle the eps stuff without too much error or crashing the program?
any suggestions for handling my error?
I see what you are trying to do, but there is an analytical solution for L. It seems you only have a problem with L, not p (as far as the test cases).
I'll take another look
Octogenarian, Shmoctogenarian! Hope that one didn't keep you up too late, Roger. :-)
I feel like there should be an analytical solution for L, but it's too late at night to do any non-computational numerical analysis of this sequence.
Calculate Euler's phi function
Top of the Hour : Return from your routine within 1 second of the hour
Replace all zeros and NaNs in a matrix with the string 'error'
Return a list sorted by number of consecutive occurrences
What are the odds?
Find the repeating decimal pattern!
Circle and Quadratic
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