Discover MakerZone

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

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!

Problem 410. Back to basics 20 - singleton dimensions

Created by Alan Chalker

Covering some basic topics I haven't seen elsewhere on Cody.

Remove the singleton dimensions from the input variable (e.g. if size(input)==[2 3 1 4], size(output)==[2 3 4])


Problem Group

Solution Statistics

163 correct solutions 121 incorrect solutions
Last solution submitted on Nov 11, 2015