Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = rand*pi;
y_correct = (200>=100);
assert(isequal(ang(x),y_correct))
y =
logical
1
|
2 | Pass |
x = -rand*pi;
y_correct = (100>=200);
assert(isequal(ang(x),y_correct))
y =
logical
0
|
Find the two most distant points
1628 Solvers
2240 Solvers
2981 Solvers
Find out total non zero element of matrix
193 Solvers
Matlab Basics - Logical Tests I
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!