Problem 410. Back to basics 20 - singleton dimensions

Created by Alan Chalker in Community

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

Solution Stats

49.24% Correct | 50.76% Incorrect
Last solution submitted on Feb 23, 2019

Problem Comments

Recent Solvers216

Suggested Problems

More from this Author39


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!