I have a question regarding "if, elseif, else".
The condition I have is in the following:
When t<65.4, T=473+5*t
and t<61.4, Coe=0.05+(2*10^(-5))*T
Something is wrong with my code. It did not give the correct answer I've expected. The code I've written is in the following:
if t>0 & t< 61.4
elseif 61.4<t & t<65.4
[t,y]=ode45('Hi',[0 250],[14.25 0.75]);
Does anyone know what mistake I've made and how can I revise it? Thank you!