Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
ahlem sellami
ahlem sellami am 24 Okt. 2016
Kommentiert: ahlem sellami am 24 Okt. 2016
Error in x0(5*n+1)=((Uh*Ah)/Ls)*((Tb0-x0(4*n))/log((Tvc-x0(4*n))/(Tvc-Tb0)));
  1 Kommentar
ahlem sellami
ahlem sellami am 24 Okt. 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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Thorsten
Thorsten am 24 Okt. 2016
Bearbeitet: Thorsten am 24 Okt. 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 =.

Weitere Antworten (0)

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by