[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: integration using Quad or Simpsons 1/8th or Trapezoid of a data file
From: |
Hendrik Naumann |
Subject: |
Re: integration using Quad or Simpsons 1/8th or Trapezoid of a data file!! |
Date: |
Thu, 1 Nov 2001 11:36:30 +0100 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
An small addition.
> On the other hand, if it isn't highly
> accurate, or you simply want a quick and not necessarily highly
> accurate answer, using quad might be like using a hammer to swat a
> fly, so try this: put your data in a 2xm matrix d, where each row
> of d is an ordered pair (x,y) of your data in abscissa/ordinate
> format.
The only thing you have to check on this point is that you don't have
two points with the same abscissa (x-value). Otherwise you will get
realy suprising effects. You can check this with the diff function.
For points with the same abscissa you may take the mean of these
values.
- --
PGP ID 21F0AC0265C92061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE74SWuIfCsAmXJIGERApJKAJ0QWhhfDXehnFmmAi9LK1TZgs/nSgCfVNdX
HLjzvffbA8xnRrA4THlvnGY=
=uADQ
-----END PGP SIGNATURE-----
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Re: integration using Quad or Simpsons 1/8th or Trapezoid of a data file!!,
Hendrik Naumann <=