Problem 44824. Relative points in 2D: problem 2
Solution Stats
Problem Comments
-
8 Comments
I think the answer is wrong...
A = T * [PB; 1];
P = A(1:2, 1);
what is wrong with this solution!
I think this problem is wrong. It should use the homogeneous transformation matrix not its inverse!
Broken test suite? This doesn't even seem to call the function in question, among other things.
Yes, I agree with Christian. It's probably worth checking all of the problems in this problem group. I think the conversion to the current format of tests hid some of the code in the test suites.
gotta agree with Carlos, the transformation matrix suppose to be as it is when input, not to be inverse. The transformation matrix is describing the pose of robot respected to worlds frame.
Nevermind, I was wrong. The problem is solvable, and the function is called; this is just not visible in the test suite (which may be on purpose). Picking up a copy of Peter's book may help with these problems too. :)
Thanks to the person who made the initial code (now in Test 1) visible. However, now P computed in Test 1 is not available for the later tests. Christian might be right that the initial code was meant to be hidden. Is there a way to fix the problem? Put all tests together?
Solution Comments
Show commentsProblem Recent Solvers62
Suggested Problems
-
Sum all integers from 1 to 2^n
15307 Solvers
-
Given a window, how many subsets of a vector sum positive
851 Solvers
-
249 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
602 Solvers
-
Who has power to do everything in this world?
442 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!