Home > matutils > scp.m

scp

PURPOSE ^

z=scp(x,y)

SYNOPSIS ^

function z=scp(x,y)

DESCRIPTION ^

 z=scp(x,y)

 "Separate Complex Product"
 Take the product of real and imag parts of complex
 input separately.

 i.e. dot product of vectors

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function z=scp(x,y)
0002 % z=scp(x,y)
0003 %
0004 % "Separate Complex Product"
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));

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005