Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1;
y_correct = 1;
assert(isequal(tran_matrix(x),y_correct))
ans =
1
|
2 | Pass |
x = [1 2];
y_correct = [1 2]';
assert(isequal(tran_matrix(x),y_correct))
ans =
1
2
|
3 | Pass |
x = [1;2];
y_correct = [1 ;2]';
assert(isequal(tran_matrix(x),y_correct))
ans =
1 2
|
4 | Pass |
x = [1; 2+3i];
y_correct = [1 2+3i];
assert(isequal(tran_matrix(x),y_correct))
ans =
1.0000 + 0.0000i 2.0000 + 3.0000i
|
613 Solvers
Remove the two elements next to NaN value
411 Solvers
Basics: 'Find the eigenvalues of given matrix
322 Solvers
445 Solvers
254 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!