Merge branch 'main' of https://git.voidpropulsion.com/SimonVV/Python_Decoding
This commit is contained in:
34
run1.m
Normal file
34
run1.m
Normal file
@@ -0,0 +1,34 @@
|
||||
close all
|
||||
|
||||
result = readmatrix("3NitrogenTest2_ADC_data.csv");
|
||||
|
||||
time = result(:,1);
|
||||
|
||||
temp = 0.000111 .* result(:,4:9) + 2.31991;
|
||||
|
||||
pressure = result(:,10:17).*(0.000015)-6.565;
|
||||
|
||||
load_cell = result(:,2:3);
|
||||
weight = -1.166759307845543e-04 .* 0.5.*(load_cell(:,1) + load_cell(:,2)) + 4.971416323340051e+02;
|
||||
|
||||
figure()
|
||||
plot(time,weight)
|
||||
title("load cell in Kg")
|
||||
xlabel("Time in ms")
|
||||
ylabel("KG")
|
||||
|
||||
for x = 1:7
|
||||
figure()
|
||||
plot(time,pressure(:,x))
|
||||
title(sprintf("Pressure channel %d",x))
|
||||
xlabel("Time in ms")
|
||||
ylabel("Pressure")
|
||||
end
|
||||
|
||||
for x = 1:6
|
||||
figure()
|
||||
plot(time,temp(:,x))
|
||||
title(sprintf("temperature channel %d",x))
|
||||
xlabel("Time in ms")
|
||||
ylabel("Temprature in C")
|
||||
end
|
||||
Reference in New Issue
Block a user