Cody

Solution 1572141

Submitted on 30 Jun 2018 by Srishti Saha
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
R = pi/2; D_correct =90; assert(isequal(RAD2DEG(R),D_correct))

ans = 90

2   Pass
R = pi; D_correct = 180; assert(isequal(RAD2DEG(R),D_correct))

ans = 180

3   Pass
R = 2*pi; D_correct = 360; assert(isequal(RAD2DEG(R),D_correct))

ans = 360

4   Pass
R = 3*pi; D_correct = 540; assert(isequal(RAD2DEG(R),D_correct))

ans = 540

Suggested Problems

More from this Author7