Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1:10];
y_correct = 6.2048;
assert(isequal(rms_value(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.]
|
2 | Pass |
%%
x = [-5:5];
y_correct = 3.1623;
assert(isequal(rms_value(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.]
|
3 | Pass |
%%
x = [0 0.5 1/sqrt(2) 1 sqrt(2)];
y_correct = sqrt(3)/2;
assert(isequal(rms_value(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.]
|
4 | Pass |
%%
x = [2i i 0 1 2];
y_correct = 0;
assert(isequal(rms_value(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.]
|
5 | Pass |
%%
x = [2i i 0 1 2]';
y_correct = 0;
assert(isequal(rms_value(x),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function
to avoid a potential name conflict.]
|
Find common elements in matrix rows
1231 Solvers
Check to see if a Sudoku Puzzle is Solved
278 Solvers
Getting the absolute index from a matrix
211 Solvers
Given a matrix, return the last eigen value
175 Solvers
413 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!