如果給出傅里葉變換的極座標並且我想返回到笛卡爾座標系(真實/虛座標)座標系,那麼我該如何去做呢?C#將幅度/相位轉換爲實數/虛數
我能夠從笛卡爾coordiates用下面的代碼獲得極地號:
private double GetPhase(double real, double imaginary)
{
return Math.Atan2(imaginary, real);
}
private double GetMagnitude(double real, double imaginary)
{
return Math.Sqrt((real * real) + (imaginary * imaginary));
}
但我怎麼回去?
這的確是一個數學問題,不是關於節目。 – Jon 2011-03-08 01:03:12