This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 1;
y = 4*pi()/3;
z = 4*pi();
[a,b]=sphere(x);
assert(isequal(a,y)&isequal(b,z))
|
2 | Pass |
%%
x = 4;
y = 256*pi()/3;
z = 64*pi();
[a,b]=sphere(x);
assert(isequal(a,y)&isequal(b,z))
|
Matrix indexing with two vectors of indices
485 Solvers
Getting the indices from a matrice
360 Solvers
203 Solvers
484 Solvers
261 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!