-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix_for_berkeley.m
36 lines (32 loc) · 968 Bytes
/
fix_for_berkeley.m
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
%%
icra17_figures_1;
icra17_figures_2;
icra17_figures_4;
icra17_figures_6;
icra17_figures_7;
icra17_figures_8;
icra17_figures_9;
icra17_figures_10;
%%
bdata14 = containers.Map;
bdata38 = containers.Map;
for i = 1:length(materials)
d = data14(materials{i});
e = struct('pos', d.vei, ...
'b_pos', d.bvei, ...
'force', d.iws(:,1:4), ...
'b_force', d.biws(:,1:4), ...
'acc', d.ai, ...
'b_acc', d.bai, ...
'index', input(sprintf('index for 1/4in %s: ', materials{i})));
bdata14(materials{i}) = e;
d = data38(materials{i});
e = struct('pos', d.vei, ...
'b_pos', d.bvei, ...
'force', d.iws(:,1:4), ...
'b_force', d.biws(:,1:4), ...
'acc', d.ai, ...
'b_acc', d.bai, ...
'index', input(sprintf('index for 3/8in %s: ', materials{i})));
bdata38(materials{i}) = e;
end