Obtaining the equation from the graph that plotted
이전 댓글 표시
Hello. I am currently using MATLAB to obtain the equation of the graphs from oscilloscope. The data that I used to plot the graph was obtained from the oscilloscope, so the graph is quite unique.

As you can see from the picture, there are two datas. Hence, I need to obtain two different equations. Please show me how it's possible.
답변 (1개)
Rostislav Teryaev
2019년 4월 2일
편집: Rostislav Teryaev
2019년 4월 2일
1 개 추천
Do you need a symbolic equation? It is rather difficult to get one.
I suppose, there are two ways:
- Polynomial function. Read the doc for polyfit
- Sum of ration of polynomial functions. Read the doc for rationalfit
The first option can be (and I suppose will be) not accurate, because it is just one polynomial. So I don't reccomend it.
The second one can fit almost any data, but in my opinion it is more difficult to use. I can't give an example, because I only know the theory behind, but have never implemented it in matlab yet.
댓글 수: 1
Siti Fatimah Mohamed Hisham
2019년 4월 3일
카테고리
도움말 센터 및 File Exchange에서 Oscilloscopes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!