필터 지우기
필터 지우기

Calculate heading angle and Azimuth

조회 수: 12 (최근 30일)
KLR
KLR 2020년 7월 7일
댓글: KSSV 2020년 7월 7일
I have data that records the 2D movement of an animal over time(head coordinates, tail coordinates and centroid). I want to calculate the heading angle, the azimuth of the animal. Can I calculate heading by heading=atan((head(1,2)-centroid(1,2))/((head(1,1)-centroid(1,1)))); and then converting into angle by using heading=heading*(180/pi). And for azimuth can it be calculated by compassHeading = mod(90-heading,360?

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by