I have 2 columns of data, speed and Torque. I am looking for a way to capture the value of Engine where Torque is zero.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
raghavendra kandukuri
am 27 Sep. 2018
Beantwortet: Star Strider
am 27 Sep. 2018
I have 2 columns of data, speed and Torque. i am looking for a way to capture that particular value of speed where torque is zero and the value one above it of speed column. for example in the attached sample data points(excel), i need to capture 2300 for which torque is 0 and 2244 which is one above it. PFA
0 Kommentare
Akzeptierte Antwort
Star Strider
am 27 Sep. 2018
Try this:
[D,S,R] = xlsread('sample.xlsx');
ridx = find(D(:,2) <= 0);
oneAbove = D(ridx-1,:)
oneAbove =
2244 532.72
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Fundamentals 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!