Empty sym: 0-by-1

I want to change C*m*(Co-Ci) = U*A*((Hi-Ci)-(Ho-Co))/log((Hi-Ci)/(Ho-Co)) to Co = ~~~~~
but The following error occurs. I spent over a week
If I input a number, the result comes out, but why doesn't the result come out when I enter a variable?
syms C m Co Ci Hi Ho U A
eqn = C*m*(Co-Ci) == U*A*((Hi-Ci)-(Ho-Co))/log((Hi-Ci)/(Ho-Co))
eqn = 
S=solve(eqn,Ci,"Real",true)
Warning: Unable to find explicit solution. For options, see help.
S = Empty sym: 0-by-1

1 个评论

What leads you to expect that a closed-form solution exists?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by