Filter löschen
Filter löschen

I want to be able to only analyze the actual loading portion of a curve

2 Ansichten (letzte 30 Tage)
Michael
Michael am 1 Okt. 2014
Kommentiert: Star Strider am 2 Okt. 2014
Hello,
I am new to MATLAB, and still trying to figure things out. Please forgive me if I have a overly simple question.
Currently, I am working with multi-axial force data (Fx, Fy, Fz) collected during animal locomotion trials. I am trying to calculate certain variables from the curve, including impulse, Fz peak, etc. In order to start analyzing, I was hoping to clip the curve based on when loading actually occurs (see image below), therefore limiting any extraneous noise that may alter the data.
I would also like MATLAB to report the beginning and end times for a particular loading cycle.
Any help on this would be greatly appreciated.
All the best, Michael

Antworten (1)

Star Strider
Star Strider am 1 Okt. 2014
I would threshold the blue curve to find the first and last indices where it exceeds 1. You can then subtract and add a few indices at the beginning and end respectively to include everything you need. Use the find command twice, once with the 'first' option to find the beginning of the rise of the blue curve, and 'last' to find the end. Those indices will be the same for all your curves and for your time variable.
  10 Kommentare
Image Analyst
Image Analyst am 2 Okt. 2014
You can also vote to give double points. At least I voted anyway.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Lighting, Transparency, and Shading finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by