Hi,
I am trying to make a for loop, however the code I am using turns out the error : index exceeds matrix dimensions, I can't quite work out what I am doing wrong.
my code is below:
S1=1.7*1.2U=1.5Tout=5for index=1:1:30 %Ambient Load
Ts=Ts(index-1) Tin=Tin(index-1) S1QAmb=S1*U*(Tout-(2*Ts)+Tin) %surface 1, ambient load
end
Best Answer