Re: Showing 2D coordinates



In article <ft0q4q$qb8$1@xxxxxxxxxxxxxxxxxx>,
BlackIbanez <shotdowndead@xxxxxxxxxxx> wrote:
How can I print the intersection of 2 lines in a plot?

I'd like MATLAB to generate this point, and print it as text
on the graph.

EXAMPLE: http://img367.imageshack.us/img367/6427/rangeha2.jpg

Looks to me like something suitable for interp1() -- though
you will have to decide which interpolation to use for the case
where the selected special x coordinates do not happen to
exactly match the x coordinates of any plotted data. In your
example graph, probably simple linear interpolation would work,
but in cases where the graph was not as smooth, the choice of
interpolating function could make a significant difference in
the intersection point (e.g., suppose you were graphing a fractal.)

--
This is a Usenet signature block. Please do not quote it when replying
to one of my postings.
http://en.wikipedia.org/wiki/Signature_block
.



Relevant Pages

  • Quartic interpolation
    ... This is about finding the best interpolation of a function given two ... My problem (which is not a homework assignment, a real life need) is ... such that its graph has a shortest ... I think that I can find the family of possible coefficients (with one ...
    (sci.math)
  • Re: UYVY to AYUV transform filter - cannot connect to the renderer
    ... Yes, my source is a DV camera, so its format ... >too many mediatype changes may slow down my graph. ... interpolation by comparing the two outputs. ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: logarithmic scale starting with 0
    ... I've already been suggested to shift the graph by 1. ... I don't really understand what you are trying to do (and, btw, the link ... interpolation is supposed to work - that is, ...
    (sci.math)
  • Re: Interpolation of curve with loops
    ... for similar motions .. ... i get diferrent shape of graph ... ... interpolation .. ...
    (comp.lang.labview)
  • Re: need assistance in interpolation
    ... > interpolation i need to resolve my problem. ... > i have 6 concurrent segment lines that converge in a limited area ... > area of intersection points of the convergent lines) calculating ... > so i've been reading the spline manual and i can't get it right ...
    (comp.soft-sys.matlab)

Loading