I am new to matlab and I would like to know if there is an option to draw a graph and import it into matlab and get the coresponding points (x,y) out of it. For example I have a graph and I need to get the points that define it out of it in order to get it mathematicaly evaluated and write them into a matrix.
"Luka Gruden" <lukagruden7@gmail.com> wrote in message <gaddl2$mgf$1@fred.mathworks.com>...
> Hi!
>
> I am new to matlab and I would like to know if there is an option to draw a graph and import it into matlab and get the coresponding points (x,y) out of it. For example I have a graph and I need to get the points that define it out of it in order to get it mathematicaly evaluated and write them into a matrix.
>
> Thanks for your replies.
>
> Luka
Hi, what do you mean exactly by 'draw a graph'? in what form would this graph be in? as a picture? if so, then perhaps there are some image processing functions which can extract the line.
However, I would have thought that it would be easier to just read the graph yourself, take some coordinate points, and recreate the graph in matlab. Interpolation techniques could then be used to fit a curve to the data. Can you provide an example of the graph you have?
Tags for this Thread
Add a New Tag:
Separated by commas
Ex.: root locus, bode
What are tags?
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.