Not enough input arguments error

4 vues (au cours des 30 derniers jours)
Mazin Chater
Mazin Chater le 25 Fév 2022
Commenté : Mazin Chater le 25 Fév 2022
clear;
global Ndo i
q = 1.6e-19;
Ndo = logspace(14,18);
d= 5.0e-4;
j = length(Ndo);
for i=1:j
R(i) = (1)./(q*d.*integral(Rintg, 0, 1));
end
loglog(Ndo, R); grid
xlabel('Ndo (cm-3)'); ylabel('R (ohms)');
function [y] = Rintg(x)
global Ndo i
Ndb = 1.0e14;
Nd = Ndb + Ndo(i).*exp((-5).*x);
Mnmin = 92;
Mno = 1268;
Ndref = 1.3e17;
an = 0.91;
Mn = Mnmin +Mno./(1+(Nd./Ndref).^an);
y = Mn.*Nd;
end

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Fév 2022
R(i) = (1)./(q*d.*integral(@Rintg, 0, 1));
  1 commentaire
Mazin Chater
Mazin Chater le 25 Fév 2022
apologies -- did not know how to close question

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Elementary Math dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by