So in the value part of my fprintf statement (the T1(k)…TN(k) section) , the (k) increases however in the written part (the T(k) section) the (k) just remains at the same value. Is there a way of making the text part increase with the same rate as the value part.
for k=3:Nfprintf('T(k)=\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t%10.10s\t\n',HotTemp,T1(k),T2(k),T3(k),T4(k),T5(k),T6(k),T7(k),T8(k),T9(k),T10(k),T11(k), ColdTemp); end
Best Answer