JUK1
comp.m
Go to the documentation of this file.
1
function
[d, v] = comp( DTIRPath, VFPath, nodeNum )
2
3
d
= readtable(DTIRPath);
4
v
= readtable(VFPath);
5
sametime
=
false
;
6
if
d
.time ==
v
.time
7
sametime
=
true
;
8
end
9
10
figure
();
11
plot
(
d
.time,
d
.(nodeNum) ); hold
on
;
12
plot
(
v
.time,
v
.(nodeNum),
'--'
); hold
off
;
13
if
sametime
14
figure
();
15
plot
(
d
.time,
d
.(nodeNum) -
v
.(nodeNum) );
16
end
17
18
end
plot
plot(d.time, d.(nodeNum))
sametime
sametime
Definition:
comp.m:5
on
hold on
Definition:
comp.m:11
off
hold off
Definition:
comp.m:12
v
v
Definition:
comp.m:4
figure
end figure()
d
end f_s d
Definition:
transistorComparison.m:27
src
Datadumps
comp.m
Generated by
1.9.1