c1 = 27.742*10.^8;c2 = 1.43878*10.^4;sigma = 5.67*10.^-8;T = 5780;lamda_1 = 8;lamda_2 = 13;for T=-10:5:30fun = @(lambda) c1./lambda.^5.*(exp(c2./(lambda * T+273))-1);F = integral(fun,lamda_1,lamda_2)./(sigma.*(T+273)^4)plot(T,F)hold ongridendxlabel('Temperature')ylabel('Fraction in atmospheric window)')title('Fraction of the radiation emitted in the atmospheric window as a function of temperature')legend('T=-10','T=-5','T=0','T=5','T=10','T=15','T=20','T=25','T=30')hold off
MATLAB: F vs T graph are not plotted , it shows only blank figure and how i can get all the values of F and T in the workspace as it shows only last value.
integration
Best Answer