Cody

Solution 1805776

Submitted on 4 May 2019 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
rpy = [-2,-1,-2]*pi/2; t = [1,2,3]; t_ans = [-3,2,1]; assert(norm(your_fcn_name(rpy)*t' - t_ans') < 10*eps)

2   Pass
rpy = [-1,2,-2]*pi/2; t = [1,2,3]; t_ans = [-2,1,3]; assert(norm(your_fcn_name(rpy)*t' - t_ans') < 10*eps)

3   Pass
rpy = [-2,2,1]*pi/2; t = [1,2,3]; t_ans = [1,3,-2]; assert(norm(your_fcn_name(rpy)*t' - t_ans') < 10*eps)

4   Pass
rpy = [1,-2,0]*pi/2; t = [1,2,3]; t_ans = [2,1,-3]; assert(norm(your_fcn_name(rpy)*t' - t_ans') < 10*eps)