Cody

# Problem 3076. Create a vector

Solution 1079759

Submitted on 12 Dec 2016 by Marco Castelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
n = 10; y_correct = (0:2:n); assert(isequal(zeroToNby2(n),y_correct))

2   Pass
n = 102; y_correct = (0:2:n); assert(isequal(zeroToNby2(n),y_correct))

3   Pass
n = 73; y_correct = (0:2:n); assert(isequal(zeroToNby2(n),y_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.620946,"math_prob":0.9818325,"size":597,"snap":"2020-24-2020-29","text_gpt3_token_len":185,"char_repetition_ratio":0.14165261,"word_repetition_ratio":0.03448276,"special_character_ratio":0.32495812,"punctuation_ratio":0.16528925,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9893923,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-06-04T12:28:05Z\",\"WARC-Record-ID\":\"<urn:uuid:7a7c0a58-8d61-4d70-b953-70123fad793d>\",\"Content-Length\":\"71586\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1358da4d-2d19-4138-ba0e-91136b3d1c02>\",\"WARC-Concurrent-To\":\"<urn:uuid:7a178161-76f0-4057-9988-fc82b27d9278>\",\"WARC-IP-Address\":\"23.50.228.199\",\"WARC-Target-URI\":\"https://kr.mathworks.com/matlabcentral/cody/problems/3076-create-a-vector/solutions/1079759\",\"WARC-Payload-Digest\":\"sha1:YF2DHAEOYU7XWUWH4S6H4FAX7WTQ4KQI\",\"WARC-Block-Digest\":\"sha1:7ZQX37X5WFIEBHZVDFJNZEDHXWKAF3ND\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590347439928.61_warc_CC-MAIN-20200604094848-20200604124848-00058.warc.gz\"}"}