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
18Badges
22780Score

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 at 21:19

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 at 18:22

Alfonso Nieto-Castanon submitted Solution 691757 to Problem 1910. Blockland

on 26 Jun 2015 at 1:44

Alfonso Nieto-Castanon submitted Solution 691755 to Problem 1910. Blockland

on 26 Jun 2015 at 1:41

Alfonso Nieto-Castanon submitted Solution 691719 to Problem 1910. Blockland

on 25 Jun 2015 at 21:29

Alfonso Nieto-Castanon submitted Solution 691716 to Problem 1910. Blockland

on 25 Jun 2015 at 21:23

Alfonso Nieto-Castanon submitted Solution 691714 to Problem 1910. Blockland

on 25 Jun 2015 at 21:21

Alfonso Nieto-Castanon submitted Solution 691672 to Problem 1910. Blockland

on 25 Jun 2015 at 19:19

Alfonso Nieto-Castanon submitted a Comment to Problem 42405. Divisible by 3

I understand the java restriction, but the rest seem a bit heavy handed. Also the large number of similar problems might encourage solvers to build a general "divisible by n" routine instead

on 25 Jun 2015 at 16:15

Alfonso Nieto-Castanon submitted a Comment to Problem 1910. Blockland

Finished rescoring now. Let me know if you run into any issues

on 25 Jun 2015 at 7:50

Alfonso Nieto-Castanon submitted Solution 329490 to Problem 1910. Blockland

on 25 Jun 2015 at 4:56

Alfonso Nieto-Castanon submitted Solution 329247 to Problem 1910. Blockland

on 25 Jun 2015 at 4:53

Alfonso Nieto-Castanon submitted a Comment to Problem 1910. Blockland

This problem is being rescored now. Please do not submit any new solutions while this problem is rescoring. I will update with a new message here once the process is done and it is again safe to submit new solutions. Thanks!

on 25 Jun 2015 at 2:28