Problem 2856. Matlab Basics - Create a row vector
Solution Stats
Problem Comments
-
5 Comments
While I understand that experimenting with creating problems is half the fun of Cody this is a somewhat extreme example of a repetitive problem that seems unnecessary, so yes, I agree with Jean-Marie here that perhaps some form of user-based curation like that in Answers or minimum user-requirements for creating problems might help
(not to mention that this particular testsuite does not even test for anything at all)
%% Yaz Majeed, please fix your Test 1.
assert(isequal(diff(create_row),ones(1,9)))
Solution Comments
Show commentsProblem Recent Solvers311
Suggested Problems
-
1180 Solvers
-
Given a matrix, return the last eigen value
226 Solvers
-
Relative ratio of "1" in binary number
1499 Solvers
-
560 Solvers
-
07 - Common functions and indexing 6
457 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!