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.
Word Counting and Indexing
Back to basics 12 - Input Arguments
Numbers with prime factors 2, 3 and 5.
Back to basics 21 - Matrix replicating
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Return the Fibonacci Sequence
Circle and Quadratic
Find the repeating decimal pattern!
What are the odds?
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