Mercurial > hg > ltpda
view m-toolbox/test/test_ao_integrate.m @ 45:a59cdb8aaf31 database-connection-manager
Merge
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:22 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
mc %% integrate x a = ao(plist('xvals', 0:10, 'yvals', 0:10, 'yunits', 'm')); ai = integrate(a) %% Integrate cdata straigt-line b = ao(0:10) b.setYunits('N') bi = integrate(b) %% Integrate x^2 a = ao(plist('xyfcn', 'x.^2', 'x', 0:0.01:10, 'yunits', 'm')) ai = integrate(a) %% Integrate x^3 a = ao(plist('xyfcn', 'x.^3', 'x', 0:0.01:10, 'yunits', 'm')) ai = integrate(a)