Using Levenberg-Marquardt algorithm in the optimization tool box

1 次查看(过去 30 天)
t = 25; % temperature (C)
T = t + 273; % temperature (K)
i_ph = 3.113; % phase current [A]
e_g = 1.12; % band gap [eV]
c_01 = 170.80; % co-efficient of saturation current [AK ^ (- 3)]
m_1 = 1.00; % diode factor
e = 1.6 * 10 ^ - (19); % electronvolt [j]
k = 1.38 * 10 ^ - (23); % Boltzmann constant [JK ^ (- 1)]
U = (0: 0.001: 0.6); % voltage [V]
Ut = (k * T) / e;
Is = c_01 * T ^ (3) * exp (- ((e_g * e) / (k * T)));
I = i_ph-Is. * (Exp (U ./ (m_1 * Ut)) - 1);
plot (U, I, 'linewidth' , 2.5);
axis ([0,0,6,0,3.5]);
xlabel ( 'voltage U' );
ylabel ( 'current A' );
grid on ;
% how can i use the optimization tool (Levenberg-Marquardt algorithm) to find c_01, using a guess value of c_01 = 870.80
% I have plotted both real and guessed value of c_01

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by