Finding Angle between two points w.r.t x-axis
Mostrar comentarios más antiguos
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.
Respuestas (1)
Andrei Bobrov
el 17 de Abr. de 2017
Editada: Andrei Bobrov
el 17 de Abr. de 2017
EDIT
A - your matrix (19 x 2)
out0 = atand(A(:,2)./A(:,1));
out = A(out0 < 10,:);
1 comentario
aravind dhulipalla
el 17 de Abr. de 2017
Editada: aravind dhulipalla
el 17 de Abr. de 2017
Categorías
Más información sobre Genomics and Next Generation Sequencing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!