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

New to MATLAB?

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

149 correct solutions 75 incorrect solutions
Last solution submitted on Apr 25, 2015

Problem Comments