Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 0;
assert(isequal(pol_angle(x),y_correct))
|
2 | Pass |
x = 2;
y_correct = 0;
assert(isequal(pol_angle(x),y_correct))
|
3 | Pass |
x = 3;
y_correct = 60;
assert(isequal(pol_angle(x),y_correct))
|
4 | Pass |
x = 4;
y_correct = 90;
assert(isequal(pol_angle(x),y_correct))
|
5 | Pass |
x = 5;
y_correct = 108;
assert(isequal(pol_angle(x),y_correct))
|
6 | Pass |
x = 6;
y_correct = 120;
assert(isequal(pol_angle(x),y_correct))
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13055 Solvers
3974 Solvers
Make one big string out of two smaller strings
1149 Solvers
Flag largest magnitude swings as they occur
582 Solvers
175 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!