Gistlib Logo

gistlib

create code to solve for integral with bounds 0 to 4 of e^x dx in matlab

main.m
syms x;
integrand = exp(x);
result = int(integrand, x, 0, 4);
disp(result);
76 chars
5 lines

similar matlab code snippets

laplace inversion and gauss-chebychev quadrature integration in matlab
monte carlo integration in matlab
quadrature differentiation in matlab
simpsons rule to find area under the curve in matlab
how to calculate the definite antiderivative of a function in matlab
simpsons rule in matlab
quadrature integration using recursion in matlab
quadrature integration in matlab
how to calculate the indefinite antiderivative of a function in matlab
how to calculate the integral of a function in matlab

related categories

matlab
integration

gistlibby LogSnag