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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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 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 liked Problem 42248. Return fibonacci sequence do not use loop and condition version 3

on 3 Jul 2015 at 2:46

Alfonso Nieto-Castanon submitted Solution 695518 to Problem 42248. Return fibonacci sequence do not use loop and condition version 3

on 3 Jul 2015 at 2:45

Alfonso Nieto-Castanon submitted Solution 695515 to Problem 42086. sum of digits

on 3 Jul 2015 at 2:33

Alfonso Nieto-Castanon submitted Solution 695514 to Problem 42248. Return fibonacci sequence do not use loop and condition version 3

on 3 Jul 2015 at 2:31

Alfonso Nieto-Castanon submitted Solution 695511 to Problem 42398. increase the number by 7

on 3 Jul 2015 at 1:51

Alfonso Nieto-Castanon submitted Solution 695510 to Problem 42398. increase the number by 7

on 3 Jul 2015 at 1:50

Alfonso Nieto-Castanon submitted Solution 695509 to Problem 42402. Find the realtion between x and y

on 3 Jul 2015 at 1:50

Alfonso Nieto-Castanon submitted Solution 695507 to Problem 42421. reverse a string

on 3 Jul 2015 at 1:49

Alfonso Nieto-Castanon submitted Solution 695506 to Problem 42421. reverse a string

on 3 Jul 2015 at 1:49

Alfonso Nieto-Castanon submitted Solution 695505 to Problem 42426. find even number

on 3 Jul 2015 at 1:48

Alfonso Nieto-Castanon submitted Solution 695504 to Problem 42430. calculate accleration

on 3 Jul 2015 at 1:48

Alfonso Nieto-Castanon submitted Solution 695503 to Problem 42436. Write an expression

on 3 Jul 2015 at 1:47

Alfonso Nieto-Castanon submitted Solution 695502 to Problem 42438. row removal

on 3 Jul 2015 at 1:46

Alfonso Nieto-Castanon submitted Solution 695501 to Problem 42437. Sum of series of numbers

on 3 Jul 2015 at 1:45

Alfonso Nieto-Castanon submitted Solution 695499 to Problem 42439. write an algebraic expression

on 3 Jul 2015 at 1:44

Alfonso Nieto-Castanon submitted Solution 695498 to Problem 42440. Sum of a vetor

on 3 Jul 2015 at 1:43

Alfonso Nieto-Castanon submitted Solution 695496 to Problem 42442. Determine if input is divisible by three.

on 3 Jul 2015 at 1:33

Alfonso Nieto-Castanon submitted Solution 695495 to Problem 42443. Is the light on?

on 3 Jul 2015 at 1:32

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 691775 to Problem 42418. Divisible by 16

on 26 Jun 2015 at 2:15

Alfonso Nieto-Castanon submitted Solution 691773 to Problem 42417. Divisible by 15

on 26 Jun 2015 at 2:14

Alfonso Nieto-Castanon submitted Solution 691767 to Problem 42416. Divisible by 14

on 26 Jun 2015 at 1:57

Alfonso Nieto-Castanon submitted Solution 691765 to Problem 42415. Divisible by 13

on 26 Jun 2015 at 1:55

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 Solution 691599 to Problem 42404. Divisible by 2

on 25 Jun 2015 at 16:04

Alfonso Nieto-Castanon submitted Solution 691598 to Problem 42406. Divisible by 4

on 25 Jun 2015 at 16:03

Alfonso Nieto-Castanon submitted Solution 691597 to Problem 42405. Divisible by 3

on 25 Jun 2015 at 16:03

Alfonso Nieto-Castanon submitted Solution 691595 to Problem 42407. Divisible by 5

on 25 Jun 2015 at 16:01

Alfonso Nieto-Castanon submitted Solution 691594 to Problem 42408. Divisible by 6

on 25 Jun 2015 at 16:01

Alfonso Nieto-Castanon submitted Solution 691593 to Problem 42409. Divisible by 7

on 25 Jun 2015 at 16:00

Alfonso Nieto-Castanon submitted Solution 691592 to Problem 42410. Divisible by 8

on 25 Jun 2015 at 15:59

Alfonso Nieto-Castanon submitted Solution 691591 to Problem 42411. Divisible by 9

on 25 Jun 2015 at 15:59

Alfonso Nieto-Castanon submitted Solution 691590 to Problem 42412. Divisible by 10

on 25 Jun 2015 at 15:58

Alfonso Nieto-Castanon submitted Solution 691589 to Problem 42413. Divisible by 11

on 25 Jun 2015 at 15:58

Alfonso Nieto-Castanon submitted Solution 691586 to Problem 42414. Divisible by 12

on 25 Jun 2015 at 15:54

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 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