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

Alfonso Nieto-Castanon

View profile information

Personal Profile

http://www.alfnie.com

1Rank
17Badges
16790Score

Alfonso Nieto-Castanon submitted a Comment to Solution 454444

This solution would fail in certain boards. Can you add such a board to your testsuite?... this is a new variant of Cody: create a problem for the problem-creator... :)

on 13 Jun 2014

Alfonso Nieto-Castanon submitted a Comment to Solution 454329

true randomness is a bit involved to test (particularly without the stats toolbox), plus the sum constrain adds some additional complexity to the randomness of the resulting values (see for example this Cody problem: http://www.mathworks.com/matlabcentral/cody/problems/331-compute-area-from-fixed-sum-cumulative-probability). In any way, the simplest solution to discourage this sort of extremely-non-random solutions would probably be running your current testsuite twice (with identical inputs) and then checking that the returned vectors are different...

on 12 Jun 2014

Alfonso Nieto-Castanon submitted a Comment to Solution 453284

"n_rows=size(a)(1,1)" should read "n_rows=size(a,1)"

on 10 Jun 2014

Alfonso Nieto-Castanon submitted a Comment to Solution 447045

Nice! Much smarter than my brute force approach

on 10 Jun 2014

Alfonso Nieto-Castanon received Renowned badge for Solution 12422

on 10 Jun 2014

Alfonso Nieto-Castanon submitted a Comment to Solution 431115

Yes you are :) (so it seems we have finally definite evidence that you>cats>dogs>me, where ">" stands for "funnier than"...)

on 5 Jun 2014