Problem 44825. Relative points in 2D: problem 3
Solution Stats
Problem Comments
Solution Comments
-
4 Comments
PB =[range*cosd(bearing);range*sind(bearing);1] ;
P=T*PB;
P=P(1:2,:);
i don't know why it does not work
r = range;
a = bearing;
C = T * [ r*cosd(a); r*sind(a); 1 ];
PB = C(1:2, 1);
could someone explain why this solution is wrong!
Why do we have to use the inv(T) to make it work? I think it should use T instead.
Problem Recent Solvers35
Suggested Problems
-
2877 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1195 Solvers
-
9227 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
433 Solvers
-
3834 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!