This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x1 = 1;
x2 = 1;
y_correct = zeros(3,3,3);
y_correct(:,:,1) = 1;
y_correct(:,:,1) = 0;
y_correct(:,:,1) = 1/5;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
%%
x1 = 2;
x2 = 1;
y_correct = zeros(3,3,3)
y_correct(:,:,1) = 2;
y_correct(:,:,1) = 1;
y_correct(:,:,1) = 2/5;
assert(isequal(your_fcn_name(x),y_correct))
y_correct(:,:,1) =
0 0 0
0 0 0
0 0 0
y_correct(:,:,2) =
0 0 0
0 0 0
0 0 0
y_correct(:,:,3) =
0 0 0
0 0 0
0 0 0
|
given 3 sides, find area of this triangle
680 Solvers
404 Solvers
192 Solvers
If you have matrix A, create matrix B using matrix A as an "element"
88 Solvers
Find my daddy long leg (No 's')
632 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!