When i saved my code ? I am getting this error "Undefined function 'X0' for input arguments of type 'double'". Why is that?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Adam
2016-9-30
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?
采纳的回答
KSSV
2016-9-30
You have to define x0, Uh, Ah,Ls, n and then run the code. You have no initialized many parameters.
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!