This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(all(size(PB) == [2 1]), 'The point should be described by a 2x1 vector')
|
2 | Pass |
assert(isreal(PB), 'The point should be described by a vector of real, not complex, numbers');
|
3 | Pass |
PBref = R*P + t;
assert( all(abs(PB-PBref) < 0.001), 'The relative coordinates are not correct')
|
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
311 Solvers
126 Solvers
171 Solvers
152 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!