35 lines
733 B
Matlab
35 lines
733 B
Matlab
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
|