Forum Discussion
Altera_Forum
Honored Contributor
12 years agosignal power estimation
Hello guys.. I'm trying to implement a block that evaluates the signal rms value along n samples. So, using the std definition one must do (x_k is a complex number so I have to take in acc...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Dear Kaz, Please correct me if I'm wrong.. I think that in the worst case, at each addition I should need an extra bit. In that case if I add 2^20 samples I will need 2^20 extra bits... Or not ?? Probably I've only to try and find the correct value of bit needed to take 2^20 samples without overflow.. --- Quote End --- No that sort of bits is enough to count all cosmic stars or even my cash. for each pair of adds you need one bit so for 2^20 samples addition you need 20 bits more.(power of 2 maths)