Effacer les filtres
Effacer les filtres

Undefined function 'x0' for input arguments of type 'double'.??

2 vues (au cours des 30 derniers jours)
ahlem sellami
ahlem sellami le 24 Oct 2016
Commenté : ahlem sellami le 24 Oct 2016
Error in x0(5*n+1)=((Uh*Ah)/Ls)*((Tb0-x0(4*n))/log((Tvc-x0(4*n))/(Tvc-Tb0)));
  1 commentaire
ahlem sellami
ahlem sellami le 24 Oct 2016
i try to evaluate the initial value of an unknown I named x0 (5 * n + 1) with Uh Ah Ls Tvc Tb0 n x0(4*n)are data it

Connectez-vous pour commenter.

Réponse acceptée

Thorsten
Thorsten le 24 Oct 2016
Modifié(e) : Thorsten le 24 Oct 2016
You try to evaluate
x0(4*n)
and it seems that x0 is not defined. It could be a variable, if 4*n is an index, or a function. But you have to define it before you can use it; same for all other variables/functions to the right of the =.
  1 commentaire
ahlem sellami
ahlem sellami le 24 Oct 2016
x0(4*n) it is the initial value of t1 which already defined

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear and Nonlinear Regression 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