Cody

# Problem 7. Column Removal

Solution 1444480

Submitted on 20 Feb 2018 by Aamod Garg
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
A = [1 2 3; 4 5 6]; n = 2; B_correct = [1 3; 4 6]; assert(isequal(column_removal(A,n),B_correct))

2   Pass
A = magic(4); n = 3; B = [16 2 13; 5 11 8; 9 7 12; 4 14 1]; B_correct = B; assert(isequal(column_removal(A,n),B_correct))

3   Pass
A = 1:10; n = 7; B_correct = [1 2 3 4 5 6 8 9 10]; assert(isequal(column_removal(A,n),B_correct))
{"ft_lang_label":"__label__en","ft_lang_prob":0.5004565,"math_prob":0.99724287,"size":628,"snap":"2019-13-2019-22","text_gpt3_token_len":235,"char_repetition_ratio":0.13621795,"word_repetition_ratio":0.0,"special_character_ratio":0.4187898,"punctuation_ratio":0.16438356,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95133656,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-18T22:35:15Z\",\"WARC-Record-ID\":\"<urn:uuid:91ddf917-6ca5-4c64-b1de-e2be742f6495>\",\"Content-Length\":\"72696\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:cf395f0d-a8ec-4c55-b5fa-fa265c3a2d46>\",\"WARC-Concurrent-To\":\"<urn:uuid:08f0e649-2ddc-4faa-91da-8b9544baf03b>\",\"WARC-IP-Address\":\"23.218.145.211\",\"WARC-Target-URI\":\"https://de.mathworks.com/matlabcentral/cody/problems/7-column-removal/solutions/1444480\",\"WARC-Payload-Digest\":\"sha1:NID3VBWQCK4N34X5BDJDAGYXQDXWBGZK\",\"WARC-Block-Digest\":\"sha1:7RDBRPZWVQ3UFDX3XPOBZUUMGHJWFLNA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912201707.53_warc_CC-MAIN-20190318211849-20190318233849-00035.warc.gz\"}"}