|
|
integrating area under a curve
I have a bunch of data that I plot and I need to integrate a specific area under the curve. The function trapz is great, but I would like to just integrate under a specific peak. Can Matlab tell me the exact x and y ranges for particular peaks?
|
|
0
|
|
|
|
Reply
|
Tara
|
1/27/2011 8:39:03 AM |
|
"Tara" wrote in message <ihrav7$c8f$1@fred.mathworks.com>...
> I have a bunch of data that I plot and I need to integrate a specific area under the curve. The function trapz is great, but I would like to just integrate under a specific peak. Can Matlab tell me the exact x and y ranges for particular peaks?
Let me ask it differently: I know the x values that I want, corresponding to the peak (say from 6-8): (startindex=find(x==6); endindex=find(x==8); then desiredx=x(startindex:endindex);
But now I need the corresponding y values so that I can use the trapz function. Thanks!
|
|
0
|
|
|
|
Reply
|
Tara
|
1/27/2011 9:46:03 AM
|
|
"Tara" wrote in message <ihrav7$c8f$1@fred.mathworks.com>...
> I have a bunch of data that I plot and I need to integrate a specific area under the curve. The function trapz is great, but I would like to just integrate under a specific peak. Can Matlab tell me the exact x and y ranges for particular peaks?
Dear Tara,
I have the same problem in Simulink Model. I have a digital signal and I would like to find out the area under the curves and I want to know the peak values.
Is there any way to find out?
It will be very useful for me.
Prashant
|
|
0
|
|
|
|
Reply
|
sandhi.prashant (130)
|
10/28/2011 6:17:15 AM
|
|
|
2 Replies
379 Views
(page loaded in 0.04 seconds)
Similiar Articles: area under the curve - comp.soft-sys.sasTo plot a hysteresis curve - comp.soft-sys.matlab area under the curve - comp.soft-sys.sas To plot a hysteresis curve - comp.soft-sys.matlab integrating area under a curve ... Flux Integral: Numerical Integration of Vector Field through an ...integrating area under a curve - comp.soft-sys.matlab Surface integral on a 3D region (Solution) - comp.soft-sys.math ... Flux Integral: Numerical Integration of Vector ... To plot a hysteresis curve - comp.soft-sys.matlabarea under the curve - comp.soft-sys.sas To plot a hysteresis curve - comp.soft-sys.matlab integrating area under a curve - comp.soft-sys.matlab To plot a hysteresis curve ... Trapezium Rule with Varying Strip Widths - comp.soft-sys.matlab ...I have an integral ∫1/x dx (between 1 and 101), and I want to use the ... A modified form of the trapezium rule for calculating the area under a curve makes use of ... fitting an integral function to a data set - comp.soft-sys.matlab ...... functions ... data set - comp.soft-sys.matlab ... fitting an integral ... How to fit a maximum area ... comp.soft-sys.matlab All, what is a simply method to fit a curve to a ... Riemann Sums in the HP 49G+ - comp.sys.hp48Basically, do what you would normally do to evaluate an integral, but then ... (Left = 0, Middle = 1, Right = 2) result = the approximate area under the curve ... Integration of a spline over ellipses - comp.soft-sys.matlab ...... find the volume, or if you are trying to find the length boundary curve ... for a and plug that in, or am I really over thinking this? ... Re: Area of ellipse integral. shade area between two curves - comp.soft-sys.matlabIntegration of a spline over ellipses - comp.soft-sys.matlab ... Interpolate ... It complements SigmaPlot's built-in area plot feature that shades area under the curve to ... proc logistic plot roc curve - comp.soft-sys.sasarea under the curve - comp.soft-sys.sas Hi, I think the best method is to use 'proc ... Converting ROC Curve - comp.soft-sys.matlab How can I ... under a curve - comp ... Envelope curve of hysteresis plot - comp.soft-sys.matlab ...area under the curve - comp.soft-sys.sas To plot a hysteresis curve - comp.soft-sys.matlab area under the curve - comp ... Envelope curve of hysteresis plot - comp.soft ... 2. Area Under a Curve - Interactive Mathematics - Learn math while ...In this section we learn how to find the area under a curve using integration. We see what happens when the curve is above or below the x-axis. We also learn how to ... Integral - Wikipedia, the free encyclopediaIntegration is an important concept in mathematics and, together with its inverse, differentiation, is one of the two main operations in calculus. Given a function f ... 7/11/2012 4:09:21 PM
|
|
|
|
|
|
|
|
|