Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

how to create customized curve ( only know the shape )

Asked by Yuji Zhang on 18 Jun 2013

Hi everyone~

I wanna turn couple curves (see pic above) into data in matlab. There are weird functions. All I have is the plots.

It's OK if I can just get some data that looks similar to those curves.

Is there a way to create such customized data? Any imaging processing tool to turn pictures of plots into data?

Let me know. Any thoughts are appreciated. Thanks~

0 Comments

Yuji Zhang

Products

No products are associated with this question.

2 Answers

Answer by bym on 18 Jun 2013

1 Comment

Yuji Zhang on 18 Jun 2013

Hi Proecsm!

Thanks for sharing! It worked pretty nicely!

Just curious about a further question: is there something that can automatically recognize the curve in the image? I think it's an image processing question - I'm not very familiar...

Let me know. Any discussion's appreciated~

bym
Answer by Pourya Alinezhad on 18 Jun 2013

yes...there is a programme which accepts images and returned data... named "data_from_graph_1v0" it's about 300kb and i can mail it to u...

2 Comments

Yuji Zhang on 18 Jun 2013

Hi Pourya~

It's so nice of you to offer! Could you please mail it to yzhang45@gmail.com

proecsm recommended the code http://www.mathworks.com/matlabcentral/fileexchange/7173-grabit. It worked. But still I wanna take a look at a different code - maybe a different approach.

Thanks a lot~

Pourya Alinezhad on 18 Jun 2013

gmail dosn't accept .exe files as attachments... give me an other email address... not hosted by gmail ... this is a full application and just for the purpose you mentioned.

Pourya Alinezhad

Contact us