I am a new in matlab, I want a matlab cody to solve this system differential equation (not with simulink).
Unknown: Ts,Ttp,Ttm and the remaining parameters are known.
dTs =(Q/Vs)*(Ttp-Ts)+ (Q/Vs)*(Ttm-Ts)+ (UA/rho*Cp*Vs)*(Tair-Ts)+ (I^2*R/rho*Cp*Vs)
dTtp =(Q/Vt)*(Ts-Ttp)+ (UA/rho*Cp*Vt)*(Tair-Ttp)
dTtm =(Q/Vt)*(Ts-Ttm)+ (UA/rho*Cp*Vt)*(Tair-Ttm)