Spencer, I believe the equation you used is right, but p = 1/n and not n

Alumni Liaison

Sees the importance of signal filtering in medical imaging

Dhruv Lamba, BSEE2010