필터 지우기
필터 지우기

Do you know how to convert existing graph into coding. I don't have the equations. I have the graph picture in my textbook but i need it to include in my matlab apps

조회 수: 4 (최근 30일)
Do you know how to convert existing graph into coding. I don't have the equations. I have the graph picture in my textbook but i need it to include in my matlab apps
For an example for this graph, i have the bundle diameter= 0.6m
I choose split ring floating head, and the MALTAB app designer can calculate the shell inside diameter. So if we do it manually i will get the value of 62 mm.

답변 (1개)

John D'Errico
John D'Errico 2023년 10월 31일
I'm sorry. There is no magic way to know the formula of a given graph in a textbook. And no magic way to just turn that graph into a formula, after copying the image into MATLAB. (Yes, you could do things, but that would take some image processing expertise on your part.)
However, nothing stops you from taking individual points off that curve. You already did that once. Then you can type the values you get into MATLAB, as a pair of vectors with multiple points in each. Finally call polyfit. A linear or at worst, a quadratic polynomial would seem to suffice here. Then use the resulting polynomial in your code.
  댓글 수: 5
Subathra Nilamegan
Subathra Nilamegan 2023년 11월 9일
@John D'Errico Hello, I have found a way to plot that. I used a website called Web Plot Digitizer to extract data, and then import the data into MATLAB to plot.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by