summaryrefslogtreecommitdiff
path: root/3630/CH15/EX15.1/Ex15_1.sce
blob: 9d07ee2dbe26a75f1737b5a257369059230d7634 (plain)
1
2
3
4
5
6
7
clc;
V1=2;
V2=[4 0];
Vdiff1=V2(1,1)-V1;
Vdiff2=V2(1,2)-V2;
disp('V',Vdiff1,"Vdiff1=");
disp('V',Vdiff2,"Vdiff2=");