Unable To Convert Expression Into Double Array

Need get each 'Ef' value when 'Na' & 'Nd' changes. Can teach me how to solve the 'Ef' values.
problem resolved

 採用された回答

madhan ravi
madhan ravi 2020 年 9 月 12 日

0 投票

E_f = cell(size(Na));
for k = 1:numel(Na)
ef = solve(Nc*exp((Ef-Ec)/(k*T))+Na(k)./(1+4*exp((Ea-Ef)/(k*T)))==Nv*exp((Ev-Ef)/(k*T))+Nd(k)./(1+2*exp((Ef-Ed)/(k*T))), 'maxdegree', 4);
E_f{k}=double(ef);
end
celldisp(E_f)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

タグ

質問済み:

2020 年 9 月 12 日

編集済み:

2020 年 9 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by