MATLAB: Plot of a numerical integration

numerical integration

Please someone can help how to plot the following numerical
integration with respect to "z". Here "z" varies from "0" to "1". The
integral need to be done by numerical integration method.

Best Answer

Try this:
zv = linspace(0, 1);
for k = 1:numel(zv)
z = zv(k);
u_int(k) = integral(@(u) sqrt(u)/((exp(u)/z)-1) + z/(1-z), 0, Inf, 'ArrayValued',1);
end
figure
semilogy(zv, u_int)
grid
xlabel('z')
ylabel('Integrated Value')
.
Related Question