12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

clear, syms a c x g A>> g = exp(-a*x)*sin(c*x), int_g=int(g,x)+Ag =exp(-a*x)*sin(c*x)int_g =-c/(a^2+c^2)*exp(-a*x)*cos(c*x)-a/(a^2+c^2)*exp(-a*x)*sin(c*x)+A>>gid=simple(diff(int_g,x))gid =exp(-a*x)*sin(c*x)137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!