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

Learn moreOpportunities for recent engineering grads.

Apply TodayView profile information

Personal Profile

Control systems engineer

Professional Interests

algorithms!

3702Rank

2Badges

130Score

Bryce submitted Solution 204893 to Problem 3. Find the sum of all the numbers of the input vector

on 17 Feb 2013

Bryce submitted Solution 204890 to Problem 10. Determine whether a vector is monotonically increasing

on 17 Feb 2013

Bryce submitted a Comment to Solution 25216

Hmmm, description is a little confusing. Is length(x) always = length(y)? Are they nx1 or 1xn? Anyhow, I submitted several possible solutions (e.g. z = x'*y, z = sum(x.*y)) all of which failed the test suite ... but they work fine on my machine!

on 2 Feb 2012

Bryce submitted a Comment to Solution 25194

Seems to me that the "best" answer would be tf = logical(mod(n,2)). But I guess the description does not explicitly require logicals, so maybe I am reading too much into the problem. Using logical makes the solution 17 compared to 13 without.

on 2 Feb 2012

1 – 19 of 19 previous next