Write a Matlab script to create a row vector of 10 consecutive numbers
x = [1 2 3 4 5 6 7 8 9 10]
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)
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Flip the main diagonal of a matrix
Return the first and last character of a string
Equal to their cube
Sum of odd numbers in a matrix
Check that number is whole number
Matlab Basics II - Free Fall
Replace every 3rd element in a vector with 4
Matlab Basics - Rounding II
Matlab Basics - Set unwanted parts of a vector to zero
Matlab Basics - Switching Assignments
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office