How to develop equation from the database ?
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
Excuse me every one. I have the scattering data (case selection data) as show in the figure below. I want to develop the equation to predict 'y' value by input the 'x' and 'TH'. The equation shows the typical form like: y = f(x,TH). How to do it ? Thank you very much.

댓글 수: 0
답변 (1개)
  Saurabh Chaudhary
 2023년 1월 3일
        
      편집: Saurabh Chaudhary
 2023년 1월 3일
  
      You can fit a curve using curve fitting toolbox (enter "cftool" in command window to open it) and obtain the equations and write a small script to select the equation accoding to TH value. 
댓글 수: 9
  Alex Sha
      
 2023년 1월 4일
				Hi, there are some other softwares which can search functions  with the better fitting to the data provided, automatically.
You can also use Neural Network to fit your data, the function is much long, but with more better result:
where x1=TH, x2=x;


Sum Squared Error (SSE): 6.15367933063669E-6
Root of Mean Square Error (RMSE): 0.000413443511210577
Correlation Coef. (R): 0.999998431427883
R-Square: 0.999996862858226
Parameter	Best Estimate       
---------	-------------       
p1       	-0.0184998266667526 
p2       	-0.00170324878988054
p3       	0.00105902753507986 
p4       	-8.63188539136108E-5
p5       	13.3141311137491    
p6       	-0.010077245280387  
p7       	-769.681178210069   
p8       	113.441478800875    
p9       	-41.899708039828    
p10      	-46.1202975365195   
p11      	325.53145620631     
p12      	1467.54651172898    
p13      	-22.9188474020333   
p14      	0.975904984363179   
p15      	-4.72158876536306   
p16      	-660.31030174081    
p17      	-6.67856367002313   
p18      	51.8661729374925    
p19      	44.4703308742898    
p20      	22.8349571901207 

참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




