Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Need help finding info within a large matrix
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!