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

1 view (last 30 days)
Error in x0(5*n+1)=((Uh*Ah)/Ls)*((Tb0-x0(4*n))/log((Tvc-x0(4*n))/(Tvc-Tb0)));
  1 Comment
ahlem sellami
ahlem sellami on 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

Sign in to comment.

Accepted Answer

Thorsten
Thorsten on 24 Oct 2016
Edited: Thorsten on 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 =.

More Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!