Analyzing Sections of Plot Data

1 vue (au cours des 30 derniers jours)
N/A
N/A le 12 Avr 2015
Commenté : Star Strider le 12 Avr 2015
I have a plot of data used from testing a rocket engine's thrust vs. time response. I want to find the total impulse under the area that has the thrust. But, thats's only 2 seconds worth of data of the 40 seconds of data recorded and plotted. I want to do a trapz() under that section of data only. How would I go about doing that?

Réponse acceptée

Star Strider
Star Strider le 12 Avr 2015
That depends on the data (that we don’t have). Assuming the there is noise in the data at all times, and a flat baseline before and after the rocket engine is on, the easiest way would be to identify the baseline mean and standard deviation, and consider everything above the baseline mean+3*std as the rocket engine thrust. Find the first and last indices in your vector that exceed those values, consider those the rocket engine thrust signal, and integrate between them. You might have to account for transients afterward, so consider those as well.
  4 commentaires
N/A
N/A le 12 Avr 2015
Yes! The theory was expected to be around 8 or 9 Ns, and that number makes sense. Doing the whole data set gave me a negative value, due to the noise above and below the x-axis. THANK YOU!!
Star Strider
Star Strider le 12 Avr 2015
My pleasure!
I’ve had to deal with these sorts of problems in my own work, so I’m always happy to share the techniques I’ve discovered to deal with them. That your signal had a very distinct beginning and end helped.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by