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
-
19847 Solvers
-
583 Solvers
-
700 Solvers
-
Create a two dimensional zero matrix
505 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1320 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!