Unable To Convert Expression Into Double Array
1 view (last 30 days)
Show older comments
Need get each 'Ef' value when 'Na' & 'Nd' changes. Can teach me how to solve the 'Ef' values.
problem resolved
0 Comments
Accepted Answer
madhan ravi
on 12 Sep 2020
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)
More Answers (0)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!