Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 5;
y = 120;
assert(isequal(fact(x),y))
ans =
120
|
2 | Pass |
x = 1;
y = 1;
assert(isequal(fact(x),y))
ans =
1
|
Getting the indices from a vector
3207 Solvers
725 Solvers
856 Solvers
What is Sum Of all elements of Matrix
292 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!