How to do vector projection?
이전 댓글 표시

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
Jan
2022년 5월 31일
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
2022년 5월 31일
Matt J
2022년 5월 31일
Is the line you are projecting onto a rhumb line?
Matt J
2022년 5월 31일
But if it is not a rhumb line, what is the mathematical formula for the blue line?
Sierra
2022년 5월 31일
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
2022년 5월 31일
Matt J
2022년 5월 31일
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
2022년 5월 31일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

