Effacer les filtres
Effacer les filtres

When i saved my code ? I am getting this error "Undefined function 'X0' for input arguments of type 'double'". Why is that?

3 vues (au cours des 30 derniers jours)
Tb0 =100;
Tvc =110;
% initialisation du débit de la vapeur de chauffage (Mvc) en [kg/s]
x0(5*n+1)=((Uh*Ah)/Ls)*((Tb0-x0(4*n))/log((Tvc-x0(4*n))/(Tvc-Tb0)));
help please!!
  1 commentaire
Adam
Adam le 30 Sep 2016
This clearly isn't all your code else it won't run for very obvious reasons. Is x0 defined somewhere as a function or is it an array?

Connectez-vous pour commenter.

Réponse acceptée

KSSV
KSSV le 30 Sep 2016
You have to define x0, Uh, Ah,Ls, n and then run the code. You have no initialized many parameters.
  3 commentaires
KSSV
KSSV le 30 Sep 2016
There is no x0, Uh, Ah,Ls, n defined in the code...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion 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