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?

Alfonso Nieto-Castanon

View profile information

Personal Profile

http://www.alfnie.com

1Rank
19Badges
22960Score

Alfonso Nieto-Castanon submitted a Comment to Problem 42480. Go back n times

I imagine you are going to need to use "isequalwithequalnans" in your testsuite instead of "isequal" for this problem

55 minutes ago

Alfonso Nieto-Castanon submitted a Comment to Problem 42481. Low level NaN

there seem to be some problems with the testsuite, in particular some of those matrices contain different number of elements per row (e.g. perhaps "5,7" should be "5.7"). I guess the same applies to your example dataset where the last row contains only four numbers instead of five?

59 minutes ago

Alfonso Nieto-Castanon received Modeling and Simulation Challenge Master badge

6 hours and 32 minutes ago

Alfonso Nieto-Castanon submitted a Comment to Problem 42460. The cake is a lie...

thanks for the clarification!

on 28 Jul 2015 at 21:21

Alfonso Nieto-Castanon submitted a Comment to Problem 42460. The cake is a lie...

for those detail-oriented (i.e. picky) I imagine cuts need to be straight lines, and the cake is two-dimensional?

on 25 Jul 2015 at 21:01

Alfonso Nieto-Castanon submitted a Comment to Solution 695695

a small follow-up: I replicated this behavior (both in R2008b and R2015a) and regexprep dynamic ${ } operator seem to have access to *both* variables in the currently active workspace as well as in its parent workspace... never would have guessed that, thanks LY!

on 4 Jul 2015 at 20:55

Alfonso Nieto-Castanon liked Solution 695695

on 4 Jul 2015 at 17:50

Alfonso Nieto-Castanon submitted a Comment to Solution 695695

+1 Nice cheat! I cannot really figure this one out. Seems like regexprep has access to a variable outside of its current workspace? (I am not on my computer right now, is this cody-specific or does this replicate in other settings?)

on 4 Jul 2015 at 17:50

Alfonso Nieto-Castanon submitted a Comment to Problem 42418. Divisible by 16

perhaps less interesting but I guess you could do the same with powers of 5, iff the last X digits of a number are divisible by 5^x, then the entire number is divisible by 5^x...

on 29 Jun 2015

Alfonso Nieto-Castanon submitted a Comment to Problem 42418. Divisible by 16

@James: nice trick! (and I guess the proof arises from 10^x being always exactly divisible by 2^x, so "iff" also applies?)

on 29 Jun 2015