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 1168. Return 'on' or 'off'

Created by J-G van der Toorn

When the input is true, return 'on', otherwise, return 'off'.

Tags

Problem Group

Solution Statistics

170 correct solutions 86 incorrect solutions
Last solution submitted on Feb 12, 2016

Problem Comments