Ploting two function on one graph and using text() to place an arrow everywhere the lines intersect.

Hi, I have two functions F and f(x). One is a sin wave and the other a straight line. I need to use the text() function to place an arrow everywhere the lines intersect. How do I do this.
I know how to use Text() text(x,y,'\leftarrow')
Not sure how to input my x,y value when the intersection point depends on the user entering any number for F.

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

Dan
on 26 Nov 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!