Rank: 5389 based on 5 downloads (last 30 days) and 1 file submitted
photo

Robertas balevicius

E-mail

Personal Profile:
Professional Interests:
---

 

Watch this Author's files

 

Files Posted by Robertas
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Jan 2007 A double integration of the tabulated data. A double integration of the tabulated data. Author: Robertas balevicius integration, double, tabulated, data, mesh grid, computes 5 3
  • 1.0
1.0 | 1 rating
Comments and Ratings on Robertas' Files View all
Updated File Comment by Comments Rating
16 Jan 2007 A double integration of the tabulated data. A double integration of the tabulated data. Author: Robertas balevicius martin, dave

If you want to see this code without downloading it, here you go:

function V = int_2D_tabulated(X, Y, Z )
V = trapz( Y(:,1), (trapz(X(1,:),Z, 2)) );

16 Jan 2007 A double integration of the tabulated data. A double integration of the tabulated data. Author: Robertas balevicius martin, dave

Sorry, there is no need for the return statement. This is essentially a one liner with a name that is harder to remember than 'trapz' in the first place. This is cumbersome!

12 Jan 2007 A double integration of the tabulated data. A double integration of the tabulated data. Author: Robertas balevicius D'Errico, John

But I can call trapz twice with no more effort. Why bother with a special function for something this trivial, since all it does is call trapz twice anyway?

Top Tags Applied by Robertas
computes, data, double, integration, mesh grid
Files Tagged by Robertas
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Jan 2007 A double integration of the tabulated data. A double integration of the tabulated data. Author: Robertas balevicius integration, double, tabulated, data, mesh grid, computes 5 3
  • 1.0
1.0 | 1 rating

Contact us