Output simple function matlab
Hello_sarra
Messages postés
33
Date d'inscription
Statut
Membre
Dernière intervention
-
Krys_06 Messages postés 22 Date d'inscription Statut Membre Dernière intervention -
Krys_06 Messages postés 22 Date d'inscription Statut Membre Dernière intervention -
function y=fcv(w,h,k,T)
if w>0
y= w.^2.*exp(h*w./(k*T))./(exp(h*w./(k*T))-1).^2; %% or w>0 only
else
y=0; %%% Quand w=0
end
le problem quand je prend w=[0,1,2,3,4]; et je tape dans windows Matlab
h=1; T=1; k=1;
y=fcv(w,h,k,T)
mais je nobtiens pas y l'output
if w>0
y= w.^2.*exp(h*w./(k*T))./(exp(h*w./(k*T))-1).^2; %% or w>0 only
else
y=0; %%% Quand w=0
end
le problem quand je prend w=[0,1,2,3,4]; et je tape dans windows Matlab
h=1; T=1; k=1;
y=fcv(w,h,k,T)
mais je nobtiens pas y l'output
A voir également:
- Output simple function matlab
- 14 simple - Guide
- Simple pdf - Télécharger - PDF
- Simple ocr - Télécharger - Bureautique
- Simple file locker - Télécharger - Sécurité
- Simple comic - Télécharger - Vie quotidienne