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

1 visualizzazione (ultimi 30 giorni)
Error in x0(5*n+1)=((Uh*Ah)/Ls)*((Tb0-x0(4*n))/log((Tvc-x0(4*n))/(Tvc-Tb0)));
  1 Commento
ahlem sellami
ahlem sellami il 24 Ott 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

Accedi per commentare.

Risposta accettata

Thorsten
Thorsten il 24 Ott 2016
Modificato: Thorsten il 24 Ott 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 =.

Più risposte (0)

Categorie

Scopri di più su Characters and Strings in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by