Cody

Problem 7. Column Removal

Created by Cody Team in Cody Challenge

Remove the nth column from input matrix A and return the resulting matrix in output B.

So if

 A = [1 2 3; 4 5 6];

and

 n = 2 

then B is

 [ 1 3  
   4 6 ]

Solution Stats

50.83% Correct | 49.17% Incorrect
Last solution submitted on Jan 22, 2018

Problem Comments

Solution Comments

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!