Problem 46669. Rotation matrix of a sequence of 3D points
Given a sequence of rotation matrices Rotation_Matrix [3x3xN], and a sequence of 3D points [3x1xN], compute the [3xN] sequence in the rotated coordinates.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Rafael S.T. Vieira
on 24 Oct 2020
Please, do not use isequal with floats, prefer instead abs(a-b) < tol. Notice how my solution used round and had to fix errors manually despite the operation being correct.
cokakola
on 12 Nov 2022
The assert cannot be used in the way, it is used in the testsuit.
The error raised is not because of a wrong result but because of a wrong use of assert()
Christian Schröder
on 21 Nov 2022
Could someone be so kind and please fix the test suite?
Augusto Mazzei
on 27 Jan 2023
Pls fix your test suite. you shouldn't use -assert- for a matrix.
Solution Comments
Show commentsProblem Recent Solvers2
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15362 Solvers
-
16149 Solvers
-
2196 Solvers
-
Is my wife right? Now with even more wrong husband
1316 Solvers
-
831 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!