This is a basic solution, everyone should be able to solve this.
good job yar
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
assert(isequal(times2(1),2));
|
2 | Pass |
%%
assert(isequal(times2(11),22));
|
3 | Pass |
%%
assert(isequal(times2(-3),-6));
|
4 | Pass |
%%
assert(isequal(times2(29),58));
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13051 Solvers
Find the largest value in the 3D matrix
1056 Solvers
Reverse the elements of an array
687 Solvers
Matlab Basics - Create a row vector
277 Solvers
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!