Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Need help finding info within a large matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
So I'm setting up a gui to simulate a test with multiple sensors. The nature of the test is such that 1 of 3 sensors will be tripped first and this will be recorded along with a value for speed. There is also a counter for how many times each sensor has been tripped and the total count. The way the data is recorded is:
Data = [Data [Speed; t; FirstSensorTripped; SensorOneCount; SensorTwoCount; SensorThreeCount; TotalCount]]
I need to help with creating a loop that will see when the count for each sensor has exceeded a certain value... lets say 3... and will then be able to take the average of the speed recorded for when each individual sensor is tripped. To clarify, there will be three average speeds: one that is accociated with the first sensor being tripped first, one that is associated with the second sensor being tripped first, and same with the third.
I appreciate any kind of guidance. I think I just need someone to point me in the direction of the right commands to use to find info within matrices.
댓글 수: 0
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!