clear all
close all
F = 2000;
load('Spiro_4.mat');
data4 = data;
Atemfluss4 = data(1:end,1);
Volumen4 = data(1:end,2);
F = 2000; % sampling frequency
T4= 1/F; %Periodendauer
t4= ([0:T4:25.889]); % time vector
load('Spiro_3.mat');
data3 = data;
Atemfluss3 = data(1:end,1);
Volumen3 = data(1:end,2);
F = 2000; % sampling frequency
T3= 1/F; %Periodendauer
t3= ([0:T3:28.444999]); % time vector
load('Spiro_2.mat');
data2 = data;
Atemfluss2 = data(1:end,1);
Volumen2 = data(1:end,2);
F = 2000; % sampling frequency
T2= 1/F; %Periodendauer
t2= ([0:T2:25.979999]); % time vector
load('Spiro_1.mat');
data1 = data;
Atemfluss1 = data(1:end,1);
Volumen1 = data(1:end,2);
F = 2000; % sampling frequency
T1= 1/F; %Periodendauer
t1= ([0:T1:33.414]); % time vector
figure;
plot(t1,Volumen1,t2,Volumen2,t3,Volumen3,t4,Volumen4);
ylabel('Volume in litres');
xlabel('Zeit in s');
7 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158213
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158213
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158223
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158223
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158553
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1158553
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160213
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160213
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160353
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160353
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160378
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1160378
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1163348
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/660333-bring-some-signals-to-the-same-start-value-and-end-value#comment_1163348
Sign in to comment.