Here my solution is true, but why?
This solution fails the Test Suite because there is no function in core MATLAB with the name used on line 2 of this submission. That function does exist in the Mapping Toolbox, but toolboxes are generally not available in Cody. —DIV
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
R = pi/2;
D_correct =90;
assert(isequal(RAD2DEG(R),D_correct))
|
2 | Fail |
R = pi;
D_correct = 180;
assert(isequal(RAD2DEG(R),D_correct))
|
3 | Fail |
R = 2*pi;
D_correct = 360;
assert(isequal(RAD2DEG(R),D_correct))
|
4 | Fail |
R = 3*pi;
D_correct = 540;
assert(isequal(RAD2DEG(R),D_correct))
|
Find the numeric mean of the prime numbers in a matrix.
6782 Solvers
Getting the indices from a vector
3210 Solvers
Fahrenheit to Celsius converter
358 Solvers
Create a two dimensional zero matrix
355 Solvers
construct matrix with identical rows
168 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!