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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Regardless of input, output the string 'yes'.

6798 correct solutions
1526 incorrect solutions

Last solution submitted on Jul 02, 2015

111 players like this problem

1 Comment

Aarron Erbas
on 10 May 2015

oooh yes

1 Comment

Algorithm
on 29 Apr 2015

sorry i wrote that just to be able to see the solution

1 Comment

Björn Skatt
on 27 Nov 2014

So wise.

1 Comment

Atharva
on 23 Jan 2014

How is the size of any code reduced ??

2 Comments

Patricia
on 3 Dec 2013

Can somebody explain the assert function? I have never used it.

the cyclist
on 4 Dec 2013

http://www.mathworks.com/help/matlab/ref/assert.html

3 players like this solution

3 Comments

Alfonso Nieto-Castanon
on 5 Aug 2013

It seems you just have to be gentle about it ;)

Danny Murphy
on 29 Aug 2013

This is a good one!

Awadhesh Srivastava
on 8 Oct 2013

entertaining question!!

1 Comment

Ajit ranjan
on 8 Dec 2012

The test suite is just amazing.....

11 players like this solution

3 Comments

Franck Dernoncourt
on 29 Jan 2012

:)

Brandon
on 8 Jan 2013

Creative

Jan Orwat
on 10 Jun 2014

Accurate :)

21 Comments