-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathScript_AdpC.m
84 lines (66 loc) · 1.04 KB
/
Script_AdpC.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
close all; clear all; clc;
sim('Adaptive_C');
figure
plot(time,torque(:,1));
legend('Torque 1');
hold on
figure
plot(time,torque(:,2));
legend('Torque 2')
hold on
figure
plot(time,torque(:,3));
legend('Torque 3')
hold on
figure
plot(time,torque(:,4));
legend('Torque 4')
hold on
figure
plot(time,error(:,5));
legend('Torque 5')
hold on
figure
plot(time,torque(:,6));
legend('Torque 6')
hold on
figure
plot(time,error(:,7));
legend('Torque 7')
hold on
figure
plot(time,torque(:,8));
legend('Torque 8')
hold on
figure
plot(time,error(:,1));
legend('error 1')
hold on
figure
plot(time,error(:,2));
legend('error 2')
hold on
figure
plot(time,error(:,3));
legend('error 3')
hold on
figure
plot(time,error(:,4));
legend('error 4')
hold on
figure
plot(time,error(:,5));
legend('error 5')
hold on
figure
plot(time,error(:,6));
legend('error 6')
hold on
figure
plot(time,error(:,7));
legend('error 7')
hold on
figure
plot(time,error(:,8));
legend('error 1')
hold on