7 lines
95 B
Mathematica
7 lines
95 B
Mathematica
|
|
function Z = uminus(P)
|
||
|
|
%display Overloaded
|
||
|
|
|
||
|
|
Z = P;
|
||
|
|
Z.cx = - Z.cx;
|
||
|
|
Z.gain = -Z.gain;
|