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];


 n = 2 

then B is

 [ 1 3  
   4 6 ]

Solution Stats

50.82% Correct | 49.18% Incorrect
Last solution submitted on Jan 23, 2018

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!