Can x、y、z、Y、b and c be derived by constant letters by matlab?

1 view (last 30 days)
Can x、y、z、Y、b and c be derived by constant letters by matlab?
x、y、z 、、b and c are unknowns. e、f and g are constant value. So, the value(of e、f and g ) doesn't change. are the derivative of x y z b c with respect to time. Can x、y、z、Y、b and c be derived by constant letters by matlab?That is, Can x、y、z、Y、b and c will be denoted by e、f and g by matlab?

Answers (1)

Roger Stafford
Roger Stafford on 11 Feb 2015
Your question is a rather perplexing one. Variables in matlab can be indicated by any letters. However, you cannot use the same symbols for different variables. That is, the e, f, and g symbols cannot also be used at the same time in place of the names of the variables x, y, z, etc. I have the impression that you haven't actually expressed the question you really have in mind. Can you try and reword it so that it is better understandable?
As to the equations as they stand, you should substitute
b*c+y*z+e*f+e*g
for Y in the equation for db/dt. That will give you five first order differential equations in x, y ,z, b, and c which can be solved using one of the 'ode' solvers. After this, you can evaluate Y from the above expression.
  1 Comment
Lan
Lan on 11 Feb 2015
e f g is constant, just like the Arabic numeral(1 2 3 4 5 6 7 8 9.....)。 e f g are change frequently. So I don't assign values to e f g in the equations。

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!