How to solve a differential equation using data from experiment?

12 ビュー (過去 30 日間)
Faezeh Manesh
Faezeh Manesh 2019 年 9 月 17 日
コメント済み: Faezeh Manesh 2019 年 9 月 17 日
Hello everyone,
Actually, I have a differential equation with the following format: Capture.PNG where Capture1.PNG .
On the other hand, I have some experimental data for dN/dT for different T . I would like to obtain N(T). Is it possible to do so with the above equation and the experimental data?

回答 (1 件)

Star Strider
Star Strider 2019 年 9 月 17 日
Since you are not integrating the differential equation, this is a simple nonilinear parameter estimation problem.
Try this:
T = 270:280; % Create ‘T’
dNdT = rand(size(T)); % Create ‘dNdt’
a = 42; % Create ‘a’
deltaE = 3; % Create ‘deltaE’
R = 8.3145;
objfcn = @(b,T) a.*exp(-deltaE./(R*T)) .* (1 - b); % Objective Function
B = fminsearch(@(b) norm(dNdT - objfcn(b,T)), 10); % Estimate Parameter
It might be possible to solve it as a linear problem, however that is not obvious to me just now.
Experiment to get the result you want.
  4 件のコメント
Faezeh Manesh
Faezeh Manesh 2019 年 9 月 17 日
Sure
Capture.PNG
Capture1.PNG
Capture2.PNGin concolusion the overal equation would be as follows:
Capture3.PNG
Actually, what I have from my experiments is Capture4.PNGwhith respect to T (which is about 300 data points). In addition I have a, R and delta E which are my constants, and I need delta h (which is a constant) and N(T) for different T that I have. What I am trying to do is to find N(T) and delta h through curve fitting. Could you please help me with this problem?
Faezeh Manesh
Faezeh Manesh 2019 年 9 月 17 日
I forgot to tell you that I have another set of experimental data which are F with respect to T. and I have also the following equation:
Capture5.PNG
So I have N(T) in this equation too. and I am trying to find alpha (A constant) and N(T).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSystems of Nonlinear Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by