Need to find out the value of β and n
V = [ 0 3.39E-05 6.77E-05 0.000102 0.000135 0.000169 0.000203 0.000237 0.000271 0.000305
del P = [ 14667 49641 95901 145331 195375 273565 402275 531670 648587 755000]
del Po = 12000
Q = 2.22E-7
Cb = 10
u = 0.000894
A = 1.88E-04

댓글 수: 7

James Tursa
James Tursa 2020년 4월 10일
Are you trying to fit beta and n to the data? What is A?
MOHAMMAD SHAIFUL AMIN
MOHAMMAD SHAIFUL AMIN 2020년 4월 10일
편집: MOHAMMAD SHAIFUL AMIN 2020년 4월 10일
Dear James,
Thanks for your kind concern.
A = 1.88E-04
yes, I am trying to fit the delP and V value to model equation. An then will analyze the model parametrs beta and n.
Dear James
thanks a lot
Alex Sha
Alex Sha 2020년 4월 16일
Hi, MOHAMMAD, your problem may also considered as a fitting problem of implict function, the results are as below:
β 189182698.607589
n 0.402453367095041
Dear Alex,
Thanks for your kind concern? I am not good in Matlab. I tried to solve it by excel. My results were β = 2.2E6 and n= 0.74. Still now i am trying to write the code in Matlab.
Would you please share or send me the matlab codes?
Alex Sha
Alex Sha 2020년 4월 17일
Hi, if think delP as dependent and V as independent, it seems to be impossible to rewrite your function as a standard explicit fitting type like: delP=f(V), so have to be treated as a fitting problem of implcit function, it is a difficult job for software like Excel, even not easy for Matlab.
In the literature I found the n value is from .6-.75. As I have the delP value, I use the excel solver by varying the beta. Then choose another n and try to do the curve fitting manually. That's why I am curious to see the mathlab codes and function.

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

 채택된 답변

James Tursa
James Tursa 2020년 4월 10일

0 개 추천

One strategy:
  • Move del Po to the left side
  • Take ln( ) of both sides
  • Put the ln(beta) and n*ln(del P) on one side and the other stuff on the other side
  • Rewrite this in matrix form: M * [ ln(beta) ; n ] = other stuff
  • Code the M matrix and other side stuff in MATLAB
  • Use backslash to solve for ln(beta) and n

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by