Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
s1 = 'He said ''Look over there!''';
s2_correct = 'He said ''''Look over there!''''';
assert(isequal(quote_doubler(s1),s2_correct))
s2 =
He said ''Look over there!''
|
2 | Pass |
%%
s1 = '''';
s2_correct = '''''';
assert(isequal(quote_doubler(s1),s2_correct))
s2 =
''
|
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
Basics: 'Find the eigenvalues of given matrix
323 Solvers
390 Solvers
2740 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!