Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how to find output when ve have two inputs but two inputs are not single values but series of data?

1 visualización (últimos 30 días)
Hi all:
i hope you all well be fine and doing well , i want to find Tg T1 T2 Tb Tc Tw2 variables which are unknowns by using these series of data I and Ta ...
find?
Tg T1 T2 Tb Tc Tw2 for first value of I and Ta
Tg T1 T2 Tb Tc Tw2 for second value of I and Ta
and os on up to the last values of I and Ta.
syms Tg T1 T2 Tb Tc Tw2
I=[116 207 414 611 909 1009 951 909 805 615 311 120];
Ta=[29.164 30.256 31.186 32.237 33.127 34.137 35.148 37.129 36.119 35.148 34.137 33.127];
m=100;
n=40;
k=4180;
E1=I+k*I+k(Tc-T2)==4*k*(T2-Tb);
E2=m.*I+4.*I+(T2-Tb)==m*(Tb-Tw1);
E3=2*m.*I+(T1-Tc)==(Tc-Ta)))*I+(Tc-T2);
E4=3*n*I+(Tg-T1)==(T1-Tc);
E5=3*I==(Tg-Ta)+(Tg-T1);
E6=(Tb-Tw1)==(40*k*m*(Tw2-Tw1));
sol = solve([E1, E2, E3,E4,E5,E6],[T2,Tb,T1,Tc,Tg,Tw2]);
T2 = sol.T2
Tb = sol.Tb
Tg = sol.Tg
T1 = sol.T1
Tc = sol.Tc
  2 comentarios
Durganshu
Durganshu el 16 de Oct. de 2020
Please re-write your question in more legible form. Your code should look in a way such that others can understand it. Please read this: https://in.mathworks.com/matlabcentral/answers/help
Engineer Batoor khan mummand
Engineer Batoor khan mummand el 16 de Oct. de 2020
Editada: Engineer Batoor khan mummand el 16 de Oct. de 2020
thanks from your reply Dear Durganshu Mishra
i editted my question.
thanks

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by