Nov 3, 2011 #1 W Wild Life Member level 1 Joined May 4, 2011 Messages 34 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,565 Hello everybody, I made a project for a VHDL variance calulator: E(x^2) -(E(x))^2 thats ok for real numbers, but if I have a complex number, what have I to do? I can easily have two Variances, one for Real part and one for Imaginary part: E(Re(C)^2) -(E(Re(C)))^2 E(Im(C)^2) -(E(Im(C)))^2 Is it the correct way? or should I have only one result for one complex number? And how to calculate it?
Hello everybody, I made a project for a VHDL variance calulator: E(x^2) -(E(x))^2 thats ok for real numbers, but if I have a complex number, what have I to do? I can easily have two Variances, one for Real part and one for Imaginary part: E(Re(C)^2) -(E(Re(C)))^2 E(Im(C)^2) -(E(Im(C)))^2 Is it the correct way? or should I have only one result for one complex number? And how to calculate it?
Nov 4, 2011 #2 A albbg Advanced Member level 4 Joined Nov 7, 2009 Messages 1,315 Helped 448 Reputation 898 Reaction score 409 Trophy points 1,363 Location Italy Activity points 10,039 The variance of a complex number "x" is defined as: var = E{|x - E{x}|^2} if x = a + j*b then E{x} = E{a} + j*E{b}
The variance of a complex number "x" is defined as: var = E{|x - E{x}|^2} if x = a + j*b then E{x} = E{a} + j*E{b}