Info

This question is closed. Reopen it to edit or answer.

How to end a single the second time a value is reached

1 view (last 30 days)
Hi all,
I have a resultant signal, and I am trying to figure out how to automate my code to end the signal after the second time it achieves a value less than X.
So, signal is going from 0 to 4.2volts (peak), then I want to end the signal once it is under 0.6v. I want to be able to get the numerical integration under the curve for my peak signal(which ranges from 0 to <0.6v).

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!