How to derive bulk modulus with the Birch Murnaghan equation of state?
조회 수: 12 (최근 30일)
이전 댓글 표시
Hello,
Currently I am doing some molecular modeling to calculate the bulk modulus of different materials. However, I am not very familar with fitting specific equations to a datafile. I need to fit the Birch Murnagan equation of state to the Volume-Energy data:
E(V) = E_0 + ((9*B_0*V_0)/16) * ((V/V_0)^(2/3)-1)^2*(6+B'_0((V/V0)^(2/3)-1)-4*(V/V_0)^(2/3))
How can I fit the curve to the equation without rewriting the complete EOS equation to E = Ax^3 + Bx^2 + Cx + D?
댓글 수: 0
답변 (1개)
Nick Hobbs
2015년 7월 21일
Assuming you only need to fit your function to a dataset, one way to fit your equation is with the function fit from the Curve Fitting Toolbox. There is a provided example where they use a custom model. In your case, you could use your equation as an anonymous function like the provided example, and use the function to fit your data to your provided equation.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!