t**l 发帖数: 1284 | 1 【 以下文字转载自 EE 讨论区 】
发信人: ttkl (ttkl), 信区: EE
标 题: phase unwrap in Matlab help!!!
发信站: BBS 未名空间站 (Fri Feb 24 17:08:29 2006)
I want to use matlab get phase spectrum of a time series signal X.
What I did is:
Y=FFT(X)
degree=angle(Y)
(the degree that I got is number oscillating from -pi to pi)
So I do phase unwrap:
phase=unwrap(degree)
I thought I should get phase number from 0 to 2pi but I got number from 0 to
600 for phase.
How to use Matlab to get the phase spectrum of a time series signal?
Pleas | D*****I 发帖数: 8268 | 2 i think unwrap means:
assume a=pi with a phase change of - 4pi, then a will be -3pi(actually, phase
did not change at all), and so on
so you will get a pretty large number later...
【在 t**l 的大作中提到】 : 【 以下文字转载自 EE 讨论区 】 : 发信人: ttkl (ttkl), 信区: EE : 标 题: phase unwrap in Matlab help!!! : 发信站: BBS 未名空间站 (Fri Feb 24 17:08:29 2006) : I want to use matlab get phase spectrum of a time series signal X. : What I did is: : Y=FFT(X) : degree=angle(Y) : (the degree that I got is number oscillating from -pi to pi) : So I do phase unwrap:
| D*****I 发帖数: 8268 | 3 what's the difference with [-pi pi] and [0 2pi]?
hehe
【在 t**l 的大作中提到】 : 【 以下文字转载自 EE 讨论区 】 : 发信人: ttkl (ttkl), 信区: EE : 标 题: phase unwrap in Matlab help!!! : 发信站: BBS 未名空间站 (Fri Feb 24 17:08:29 2006) : I want to use matlab get phase spectrum of a time series signal X. : What I did is: : Y=FFT(X) : degree=angle(Y) : (the degree that I got is number oscillating from -pi to pi) : So I do phase unwrap:
|
|