12.07.2015 Views

Matlab/Octave Tutorial

Matlab/Octave Tutorial

Matlab/Octave Tutorial

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•If you want diff_f to retain its original form:>> subs(diff_f,{x,a,b,c},{1,2,3,4})ans = -1.0708>> diff_fdiff_f = -exp(-a*x)*x^(3*b-1)*(a*sin(c*x)*x-3*b*sin(c*x)-cos(c*x)*c*x)•If you want diff_f to include these substitutions:>> diff_f=subs(diff_f,{x,a,b,c},{1,2,3,4}), diff_fdiff_f = -1.0708diff_f = -1.0708135

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

Saved successfully!

Ooh no, something went wrong!