Plotting iteration lines for Newton's method and Chord method in Matlab

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
twoski
Messages
177
Reaction score
2
Hey guys, I have to make some graphs for an assignment and a friend told me it would be easiest with matlab.

I need to make an x(k+1) vs. x(k) graph for Newton's method as well as the Chord method. I also need to make a few charts of the discrete logistic equation.

Plotting functions isn't what confuses me, it's making the line that depicts the iteration which gets me.

Any examples or tutorials would be appreciated.
 
Physics news on Phys.org
What have you tried so far? Can you show some of your code that you've been working on?

Vague descriptions usually don't go too far in forums.