-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreadlunafile.m
More file actions
44 lines (42 loc) · 3.33 KB
/
Copy pathreadlunafile.m
File metadata and controls
44 lines (42 loc) · 3.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
% datinfo1=readcell("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch1_gages.tsv",FileType="text",Delimiter='\t',Range=[1 1 200 200]);
dat1=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch1_gages.tsv",FileType="text",Delimiter='\t',Range=[35 6]);
loc1=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch1_gages.tsv",FileType="text",Delimiter='\t',Range=[34 6 34 6+size(dat1,2)]);
time1=readtable("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch1_gages.tsv",FileType="text",Delimiter='\t',Range=[35 1 35+size(dat1,1) 1]);
time1=time1.Var1;
% datinfo2=readcell("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch2_gages.tsv",FileType="text",Delimiter='\t',Range=[1 1 200 200]);
dat2=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch2_gages.tsv",FileType="text",Delimiter='\t',Range=[35 6]);
loc2=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch2_gages.tsv",FileType="text",Delimiter='\t',Range=[34 6 34 6+size(dat1,2)]);
time2=readtable("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch2_gages.tsv",FileType="text",Delimiter='\t',Range=[35 1 35+size(dat1,1) 1]);
time2=time2.Var1;
% datinfo3=readcell("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch3_gages.tsv",FileType="text",Delimiter='\t',Range=[1 1 200 200]);
dat3=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch3_gages.tsv",FileType="text",Delimiter='\t',Range=[35 6]);
loc3=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch3_gages.tsv",FileType="text",Delimiter='\t',Range=[34 6 34 6+size(dat1,2)]);
time3=readtable("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch3_gages.tsv",FileType="text",Delimiter='\t',Range=[35 1 35+size(dat1,1) 1]);
time3=time3.Var1;
% datinfo0=readcell("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch4_gages.tsv",FileType="text",Delimiter='\t',Range=[1 1 200 200]);
dat0=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch4_gages.tsv",FileType="text",Delimiter='\t',Range=[35 6]);
loc0=readmatrix("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch4_gages.tsv",FileType="text",Delimiter='\t',Range=[34 6 34 6+size(dat1,2)]);
time0=readtable("shape1-20240814T003431Z-001/shape1/Nylon_shape_2024-08-02_01-42-29_ch4_gages.tsv",FileType="text",Delimiter='\t',Range=[35 1 35+size(dat1,1) 1]);
time0=time0.Var1;
startid0=597;
endid0=2354;
startid1=634;
endid1=2641;
startid2=559;
endid2=2565;
startid3=548;
endid3=2583;
ds_factor_loc=1;
ds_factor_time=100;
dat1=dat1(1:ds_factor_time:length(time1),startid1:ds_factor_loc:endid1);
loc1=loc1(startid1:ds_factor_loc:endid1);
time1=time1(1:ds_factor_time:length(time1));
dat2=dat2(1:ds_factor_time:length(time2),startid2:ds_factor_loc:endid2);
loc2=loc2(startid2:ds_factor_loc:endid2);
time2=time2(1:ds_factor_time:length(time2));
dat3=dat3(1:ds_factor_time:length(time3),startid3:ds_factor_loc:endid3);
loc3=loc3(startid3:ds_factor_loc:endid3);
time3=time3(1:ds_factor_time:length(time3));
dat0=dat0(1:ds_factor_time:length(time0),startid0:ds_factor_loc:endid0);
loc0=loc0(startid0:ds_factor_loc:endid0);
time0=time0(1:ds_factor_time:length(time0));