How to do vector projection?
Show older comments

I have longitude, latitude data(aircraft's trajectory data).
and I want to use a vecotr projection to make a second image.
(for convenience, I only drawed one line. but I wanna do it for every red point.)
Is there a forumla or a fuction in Matlab?
Also, if you know how to do 3d(longitude, latitude, altitude) vector projection, please let me know.
(I asked 2d vector projection first for understanding.)
Thanks
12 Comments
Jan
on 31 May 2022
Your question does not contain enough information to be answered. AS in fomrer questions, you do not mention, how your input data are represented. The image does not explain these details.
"(for convenience, I only drawed one line. but I wanna do it for every red point.)" - I count 6 lines.
In the past you did not answer questions for clarifications. This does not motivate to ask your again.
Sierra
on 31 May 2022
Matt J
on 31 May 2022
Is the line you are projecting onto a rhumb line?
Matt J
on 31 May 2022
But if it is not a rhumb line, what is the mathematical formula for the blue line?
Sierra
on 31 May 2022
It is possible to measure the angle between two lines, but it is not possible to measure the angle between a point and a line, or between a point and a point. How would you define that?
You seem to be saying you are given only discrete points along either the red line, the blue line or both. You need some way of connecting the points continuously if you want to define an angle of intersection between them.
Sierra
on 31 May 2022
Matt J
on 31 May 2022
Like Jan, I cannot tell for certain what the input data is. What data do you start with? And how are the data represented as Matlab variables?
Also, your posted images are not very clear. It is hard to see what color each of the lines are, except for the red line. Is the blue line not the line you are projecting onto?
Sierra
on 31 May 2022
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!
