Finding Angle between two points w.r.t x-axis

I am having a matrix of 19 x 2. i need to find the angle between each points with respect to x-axis in the matrix and return the points if the angle is less than 10 degrees.

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2017년 4월 17일
편집: Andrei Bobrov 2017년 4월 17일

1 개 추천

EDIT
A - your matrix (19 x 2)
out0 = atand(A(:,2)./A(:,1));
out = A(out0 < 10,:);

댓글 수: 1

aravind dhulipalla
aravind dhulipalla 2017년 4월 17일
편집: aravind dhulipalla 2017년 4월 17일
I need to have the points.This gives the angles right!

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

카테고리

도움말 센터File Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기

질문:

2017년 4월 17일

편집:

2017년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by