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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

View profile information

Company/University

eSolar / Harvey Mudd College Alumnus

Personal Profile

i like scientific computing, poetry, renewable technologies, theatrical improv, and growing beards.

http://about.me/davidagross

748Rank

3Badges

570Score

David submitted Solution 161382 to Problem 10. Determine whether a vector is monotonically increasing

on 15 Jan 2013

David submitted Solution 190798 to Problem 15. Find the longest sequence of 1's in a binary sequence.

on 14 Jan 2013

David submitted Solution 187693 to Problem 39. Which values occur exactly three times?

on 7 Jan 2013

David submitted a Comment to Problem 1174. Wheat on a chessboard pt 2

consider using isequalwithequalnans (isequaln) against NaN instead of isequal against 'NaN' in test 7.

on 7 Jan 2013

David submitted a Comment to Solution 183521

I agree. Disallow usage of PI for fairer scoring of your problem. Neat question!

on 7 Jan 2013

David submitted Solution 187612 to Problem 1158. Sum the elements in either diagonal of a square matrix

on 7 Jan 2013

David submitted Solution 187580 to Problem 1159. Coin Tossing: Probability of Same Heads for N tosses

on 7 Jan 2013

David submitted Solution 169384 to Problem 16. Return the largest number that is adjacent to a zero

on 28 Nov 2012

David submitted Solution 169372 to Problem 30. Sort a list of complex numbers based on far they are from the origin.

on 28 Nov 2012

David submitted Solution 169370 to Problem 30. Sort a list of complex numbers based on far they are from the origin.

on 27 Nov 2012

David submitted a Comment to Problem 1050. Basics: 'Find the eigenvalues of given matrix

Good trial, but consider using a less revealing test suite, like:
y_correct = [ -0.372281323269014 ; 5.372281323269014];
Thanks!

on 27 Nov 2012

David submitted Solution 169276 to Problem 1050. Basics: 'Find the eigenvalues of given matrix

on 27 Nov 2012

David submitted a Comment to Solution 169270

Add more tests to make this question's scores more relevant!

on 27 Nov 2012

David submitted Solution 169270 to Problem 1057. Given a matrix, return the last eigen value

on 27 Nov 2012

David submitted Solution 169257 to Problem 1053. Create a Multiplication table matrix...

on 27 Nov 2012

David submitted Solution 168252 to Problem 1048. Detect a number and replace with two NaN's

on 26 Nov 2012

David submitted a Comment to Problem 1048. Detect a number and replace with two NaN's

Not quite. You will still need to use "isequalwithequalnans" (or "isequaln" in newer versions) instead of "isequal".

on 26 Nov 2012

David submitted a Comment to Problem 1048. Detect a number and replace with two NaN's

Still, the open "if" statement in the test suite will not pass any solutions. Consider making "n" an argument?

on 24 Nov 2012

David received Commenter badge for Problem 1048. Detect a number and replace with two NaN's

on 24 Nov 2012