function assorted = LAB3Func(h)
while (h > 0) && (h < 11)
T = 288.16+ (-6.5*10^-3)*(h-0); P = (1.01325*10^5)*(1+((-6.5*10^-3)/T)*(h-0)); D = 1.2250*(1+((-6.5*10^-3)/T)*(h-0)); h = h + 1;end
after this while it is just repeating while loops of the exact same sort. Fixing this one should fix the others
Best Answer