您能否告诉我如何将实数和虚数转换为幅度 (db) 和相位 (°)?
通过以下方程式,可以通过实数 (re) 和虚数 (im) 计算幅度和相位:
magnitude [db] = 20 * log(sqr(re^2 im^2))
phase = arctan(im / re)