Magnitude and direction from north and east components
古いコメントを表示
I have displacement data components along north and east how to find its magnitude and direction with reference to north(0-360) in matlab. The components may have same sign or opposite both possible.
2 件のコメント
Deepak Gupta
2020 年 4 月 22 日
Hi Mithun,
Can you give sample data? And expected result.
TAPAS
2020 年 4 月 22 日
採用された回答
その他の回答 (1 件)
KSSV
2020 年 4 月 22 日
If (x,y) is a componenet
m = sqrt(x^2+y^2) ; % magnitude
theta = atan(y/x) ; % direction
カテゴリ
ヘルプ センター および File Exchange で Weather and Atmospheric Science についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!