How to measure phase speed in Hovmoller
6 ビュー (過去 30 日間)
古いコメントを表示
Luis Jesús Olvera Lazcano
2023 年 9 月 27 日
回答済み: Luis Jesús Olvera Lazcano
2023 年 10 月 16 日
I have this Hovmoller plot of OLR anomalies with longitude x time, only showing the negative anomalies:

I want to know if theres a way to calculate the phase speed of this anomaly. That is, following the OLR minima over the time and then do a linear least square fit and obtain the quantity. Also, show the points and the fit in the same plot :)
Thank you, Ive been stucked with this for weeks
4 件のコメント
Sam Chak
2023 年 10 月 10 日
Thank you, @Luis Jesús Olvera Lazcano. I'm looking forward to seeing your code in your answer. By the way, it is meaningful to help others, and it is absolutely fine to 'click-accept' your self-discovered solution.
採用された回答
Gojo
2023 年 10 月 9 日
I understand that you want to calculate the phase speed of the anomalies.
You can try finding the minima points from the data. You can refer to the “islocalmin” function. The function returns a logical array representing the indices for the local minimum.
After extracting the minima points you can fit a linear curve between them. You can use the “polyfit” function to get a linear fit.
You can use the coefficients returned by the “polyfit” function and use them to show the points and the fit in the same plot.
For the phase speed you can try using the coefficient of the linear fit itself.
Hope this helps!!
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で AI for Signals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!