フィルターのクリア

plot two equation by matlab

3 ビュー (過去 30 日間)
khouloud abiedh
khouloud abiedh 2018 年 7 月 27 日
コメント済み: khouloud abiedh 2018 年 7 月 30 日
hello everyone i need to plot a non linear equation by matlab who can help me in code please .thank you in advance :) the equation is in function of E and T.
i want to plot tauL=f(T) T is between 0 and 130 K T=[0 130] E become constant = 1.228eV
this a graph of tauL=f(T)
and i want to plot tauL=f(E)
E is between 1.2 and 1.26 eV
and T become constant =10K
and the graph of tauL=f(E) must be like this
tauL =luminescence lifetime
Kb=8.61e-5
gammac=0.22
Ea=1.244e-3 eV
taur=0.342ns
tautr=0.129ns

採用された回答

Quinten Rensen
Quinten Rensen 2018 年 7 月 27 日
I think there is something wrong with your units, but try something like this:
clear all, clc
Ec = 1.228e-3;
Tc = 10;
k=8.61e-5;
gamma=0.22;
Ea=1.244e-3;
Tau_r=0.342;
Tau_tr=0.129;
Tau_T = @(T) Tau_r ./ (1+(Tau_r./Tau_tr).*(1-gamma).*exp((Ec-Ea)./(k.*T)));
Tau_L = @(E) Tau_r ./ (1+(Tau_r./Tau_tr).*(1-gamma).*exp((E-Ea)./(k.*Tc)));
figure(1),clf(1)
fplot(Tau_T,[0,130])
xlabel('T(K)')
ylabel('Luminescence lifetime (ns)')
figure(2),clf(2)
fplot(Tau_L,[1.2e-3,1.26e-3])
xlabel('E(eV)')
ylabel('Luminescence lifetime (ns)')
  2 件のコメント
khouloud abiedh
khouloud abiedh 2018 年 7 月 27 日
thank you very much for your answer. yes i add e-3 to Ea and Ec . Ea=1.244 eV and Ec=1.228eV.
khouloud abiedh
khouloud abiedh 2018 年 7 月 30 日
hello i delete e-3 from Ec ,Ea and from the interval below but the figure which i find it is not similar to the real graphs
Ec = 1.228; Tc = 10; k=8.61e-5; gamma=0.220; Ea=1.244; Tau_r=0.342; Tau_tr=0.129; Tau_T = @(T) Tau_r ./ (1+(Tau_r./Tau_tr).*(1-gamma).*exp((Ec-Ea)./(k.*T))); Tau_L = @(E) Tau_r ./ (1+(Tau_r./Tau_tr).*(1-gamma).*exp((E-Ea)./(k.*Tc))); figure(1),clf(1) fplot(Tau_T,[0,130]) xlabel('T(K)') ylabel('Luminescence lifetime (ns)') figure(2),clf(2) fplot(Tau_L,[1.2,1.26]) xlabel('E(eV)') ylabel('Luminescence lifetime (ns)')

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by