Problem 44825. Relative points in 2D: problem 3
Solution Stats
Problem Comments
Solution Comments
-
4 Comments
Show
1 older comment
Qiaowen
on 16 Dec 2019
PB =[range*cosd(bearing);range*sind(bearing);1] ;
P=T*PB;
P=P(1:2,:);
Qiaowen
on 16 Dec 2019
i don't know why it does not work
Juvva Vijayendra Bharath
on 22 Aug 2020
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!
carlos fuentes
on 28 Jan 2021
Why do we have to use the inv(T) to make it work? I think it should use T instead.
Problem Recent Solvers40
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
810 Solvers
-
Sum of first n terms of a harmonic progression
357 Solvers
-
Make a run-length companion vector
611 Solvers
-
Determine if input is a perfect number
188 Solvers
-
There are 10 types of people in the world
761 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!