필터 지우기
필터 지우기

Pahse Shift as a Function of Height

조회 수: 1 (최근 30일)
TTA
TTA 2020년 3월 10일
댓글: Ayush singhal 2021년 5월 21일
Hi,
In the attached file "Signal" I have three (3) columns of signals. The first column is height, second column and the third column are the two signals.
Please how can I calculate the Phase Shift between signal one (second column) and signal two (third column)as a function of height?.
The dt is 0.02 km. the data ranges from 20 to 40 km.
  댓글 수: 1
dpb
dpb 2020년 3월 10일
Don't see anything that looks like a phase shift in those signals; maybe there's a frequency difference between the two but hard to make much of the one that seems to have other stuff going on...
Try
figure
plot(signal) % all as are
figure
plot(signal.*[1 -1 1]) % flip (:,2)
which is essentially saying there's a 180-deg phase shift.
The height variable is just a linear trend; don't see there's anything to be done with it presuming both were measured at the same height at the same time you have no way to separate anything about what its effect may have been.

댓글을 달려면 로그인하십시오.

채택된 답변

dpb
dpb 2020년 3월 10일
Well, if you already have a phase shift, that's something else entirely...carrying on from above
phasedata=importdata('Schmidt_Fluctuation1_1.txt');
plot(phasedata,linspace(min(signal(:,1)),max(signal(:,1)),size(phasedata,1)))
xlim([-6 6])
legend("1&2","1&3","2&3")
yields
which presumes the data are in the order of min:max in the second array; otherwise reverse the y vector.
  댓글 수: 11
TTA
TTA 2020년 3월 11일
Hi,
I sincerely appreciate your effort.
Its not clear to me too thats why I asked.
I'll continue to try and hope I will get the problem solved soon.
Thanks so much for your time.
Tunde
Ayush singhal
Ayush singhal 2021년 5월 21일
Hello is it possible to calculate the shift in the stripe pattern.
Any lead would be helpful.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by