Problem 2856. Matlab Basics - Create a row vector
Solution Stats
Problem Comments
-
6 Comments
Why this problem ? It's the problem n°2 in the Cody...
Yaz, you don't respect others players if you create EXACTLY the same problems.
I suggest that new players solve the Cody Challenge (Cody Challenge Master Badge) before be able to create new problems. That seems reasonable
Any comments ?
Exactly my point. I have no problem solving a really basic problem. But its really frustrating to solve same thing again and again
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)))
Yaz, the use of the function diff in the assertion is incorrect. diff(X) calculates differences between adjacent elements of X and not between two vectors.
Solution Comments
Show commentsProblem Recent Solvers311
Suggested Problems
-
407 Solvers
-
928 Solvers
-
603 Solvers
-
759 Solvers
-
Determine if input is divisible by three.
239 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!