Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
Q_PS = 0;
J=1;
K=1;
y_correct=1;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
1
|
2 | Pass |
Q_PS = 1;
J=1;
K=1;
y_correct=0;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
ans =
logical
1
Q_NS =
0
|
3 | Pass |
Q_PS = 0;
J=0;
K=1;
y_correct=0;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
0
|
4 | Pass |
Q_PS = 1;
J=0;
K=1;
y_correct=0;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
0
|
5 | Pass |
Q_PS = 1;
J=1;
K=0;
y_correct=1;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
1
|
6 | Pass |
Q_PS = 0;
J=1;
K=0;
y_correct=1;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
1
|
7 | Pass |
Q_PS = 0;
J=0;
K=0;
y_correct=0;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
0
|
8 | Pass |
Q_PS = 1;
J=0;
K=0;
y_correct=1;
assert(isequal(JK_FF(Q_PS,J,K),y_correct))
Q_NS =
1
|
Find the largest value in the 3D matrix
1056 Solvers
Check if number exists in vector
4465 Solvers
Who has power to do everything in this world?
318 Solvers
452 Solvers
443 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!