How to measure an angle and keeping the one that verify a certain measure defined priviously ?
Show older comments
I have a network and i want to measure the angle connecting every two vectors defined priviously
by coordinates(feature points detected) and passing from angle to another with keeping angles
that verify a condition of measure
below the network with mentioned coordinates in red :

A far purpose is to keep form that verify X, Y, L, T and -
X : Four angles of 90 degrees
Y : One angles <90 and two others >90
L : One angle about 90 and the other about 270
- : 180
How can i proceed
any ideas please!
thanks
19 Comments
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
Perhaps start by writing out the pseudo code for the function that will solve the above problem. Do you already have the list of feature points and now wish to just find angles between every consecutive triplet?
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
What are the properties for a single feature point? Is there a coordinate associated with it?
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
You posted this same set of data at http://www.mathworks.com/matlabcentral/answers/131183-error-using-reshape-size-arguments-must-be-integer-scalars. Are these all the feature points? Are these (x,y) coordinates? The first column is in ascending order - is this important? What does this data set mean?
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
I would have thought that order would be important… You can use atan2 or atan2d to determine the angle between two feature points (coordinates). Just type help atan2d in the command window for details.
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
Please clarify - you have three distinct points and you want to find one angle?
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
Ok…so how from the list above do you decide to group any three feature points? What is the logic for that?
mika
on 29 May 2014
Geoff Hayes
on 29 May 2014
Do you have some sort of cost function?
mika
on 31 May 2014
Geoff Hayes
on 31 May 2014
Have you decided on how to group any three feature points?
mika
on 2 Jun 2014
Answers (0)
Categories
Find more on Data Preprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
