z=scd(x,y) "Separate Complex Divide" Take the product of real and imag parts of complex input separately. i.e. dot product of vectors
0001 function z=scd(x,y) 0002 % z=scd(x,y) 0003 % 0004 % "Separate Complex Divide" 0005 % Take the product of real and imag parts of complex 0006 % input separately. 0007 % 0008 % i.e. dot product of vectors 0009 0010 z=complex(real(x)./real(y),imag(x)./imag(y));