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
17Badges
21520Score

Alfonso Nieto-Castanon submitted a Comment to Solution 598506

Very nice! At first the problem felt a bit heavy handed with all those restrictions (no "if", no "round"???) but I see now what you were going for and I like it :)

on 19 Mar 2015 at 2:30

Alfonso Nieto-Castanon liked Solution 598506

on 19 Mar 2015 at 2:14

Alfonso Nieto-Castanon submitted a Comment to Solution 598443

the first test (checking 'for' loops, etc.) is not really doing anything...

on 19 Mar 2015 at 0:09

Alfonso Nieto-Castanon submitted a Comment to Problem 3080. median3d filter

also, if possible, in general it is a good idea to spend a couple of minutes trying to write your own sample solution in the "reference solution" field when creating a problem and then testing it using the "test reference solution" button, just to make sure everything is working correctly before posting a new problem.

on 18 Mar 2015 at 1:32

Alfonso Nieto-Castanon submitted a Comment to Problem 3080. median3d filter

the line in the testsuite that reads "B(h,w,d)=median(A(max(1,h-r):min(h+r,7) , max(1,w-r):min(w+r,7) , max(1,d-r):min(d+r,7))(:))" is incorrect (and giving an error). You can use instead something like "B(h,w,d)=median(reshape(A(max(1,h-r):min(h+r,7) , max(1,w-r):min(w+r,7) , max(1,d-r):min(d+r,7)),[],1))" to fix this error

on 18 Mar 2015 at 1:30

Alfonso Nieto-Castanon submitted a Comment to Problem 3082. Scrabble Scores - 10

yes, please add the second argument (the desired letter within the target words) to the function calls...

on 17 Mar 2015 at 4:53

Alfonso Nieto-Castanon submitted a Comment to Solution 592791

long time no see, Bryant, welcome back!

on 8 Mar 2015 at 5:38

Alfonso Nieto-Castanon submitted a Comment to Problem 3070. Pattern Recognition 3 - Variable Unit and Array Length (including cell arrays)

The way I interpret it, the last (partial) segment in the sequence <1 10 100 1 10> <1 10 100 1 10> <100 1 ... does not match the expected pattern. The other alternative, sequence <1 10 100 1 10 1 10 100> <1 10 100 1...> has a correct partial match but it does not include a pattern that is repeated at least once...

on 8 Mar 2015 at 5:24