Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Integrating experimental data

Status
Not open for further replies.

rakue

Newbie level 5
Newbie level 5
Joined
Oct 27, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,362
Hi, I don't know if this is the proper part of the forum to ask this, but I'm trying to figure out how I can obtain a certain value from an equation that contains an integral if I want to use experimental data. the equation looks like this:

B= (∫G(f)df)2 / (∫G(f)2df)

where it is to be evaluated from 0 to ∞.

But to keep my question simple, say, my equation is: B= ∫G(f)df

Now, I have experimental values for "G(f)" and it's corresponding "f" (I'm not even sure if I'm understanding this correctly).

Is it right for me to simply, multiply the G's with their corresponding f's and then take the sum? So in effect, I'm basically doing this:

Ʃ(Gi*fi) where i is the index for each value of f

Am I still integrating if I do this? If not, what should be the proper approach to this?

thank you very much for all your help!
 

Hi

if it is the function B= ∫G(f)df in the continuous time then this will be represented by B = Ʃ(G[N]) where N is from 0 to Nmax ......So I thin what you are doing is Ʃ(Gi*fi) looks like different for B= ∫G(f)df

Good Luck
 

To approximate an integral there are many formulas. You approach is not correct because you have to consider "df" and not "f".
A simple method is to consider a trapezoidal integration.
Let's draw you points in a cartesian plane, then connect each pair of points with a line:

9802424000_1381231848.jpg


As you can see under the approximation of the curve there is a sequence of trapezi. The integral is the sum of all their areas. Since the area is given by (base1+base2)*heigh/2 then from the figure the i-th trapezium will have area:

Area(i) = [G(i+1)+G(i)]*[f(i+1)-f(i)]/2

the approximation of the integral, having datas over N points, will be given by:

\[Integral=\sum_{i = 1}^{N-1} Area(i)\]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top