Skip to content

Commit 7420f74

Browse files
committed
Added data import code
1 parent be56223 commit 7420f74

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

analysis/SYSIDAnalysis.mlx

3.44 KB
Binary file not shown.

lib/fillRPM.m

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
function new_rpm = fillRPM(rpm)
2+
if isnan(rpm(1))
3+
rpm(1) = 0;
4+
end
5+
currentRPM = rpm(1);
6+
for i = 2:length(rpm)
7+
if isnan(rpm(i))
8+
rpm(i) = currentRPM;
9+
else
10+
currentRPM = rpm(i);
11+
end
12+
end
13+
new_rpm = rpm;
14+
end

0 commit comments

Comments
 (0)