Creating a Cobweb Diagram in MATLAB

  • Context: MATLAB 
  • Thread starter Thread starter AnitaBillie
  • Start date Start date
  • Tags Tags
    Diagram Matlab
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 8K views
AnitaBillie
Messages
2
Reaction score
0
I am trying to create a cobweb diagram in matlab. However, I am not sure what I am doing wrong. When I enter the function in with its initial value and r value...my diagram comes up with 2 straight lines and not a cobweb. I am stuck.

Attached are the m.files
 

Attachments

Physics news on Phys.org