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
344Rank
7Badges
830Score

Jeremy submitted Solution 201322 to Problem 48. Making change

on 6 Feb 2013

Jeremy submitted a Comment to Problem 1237. It's race time! Write a faster function than the test suite call of unique().

Hi, just wondering whether someone could help me out here. I was expanding the testset, and I was trying x = [1:10 2:11] but I got an error "Error: Dimensions of matrices being concatenated are not consistent." I then tried x = [1 2 3 4], and x = 1:4; but got the same error. On my version of MATLAB all these statements work perfectly and I believe they are basic MATLAB syntax. x = [1; 2; 3; 4] worked fine however. In the end I had to transpose the matrices. Jeremy

on 3 Feb 2013

Jeremy submitted a Comment to Problem 1237. It's race time! Write a faster function than the test suite call of unique().

Agreed, some of my solutions passed only part of the time.

on 3 Feb 2013

Jeremy submitted a Comment to Solution 199391

Clever :), hadn't thought of that!

on 3 Feb 2013

Jeremy submitted a Comment to Solution 199338

thanks for the hint!

on 1 Feb 2013

Jeremy submitted a Comment to Problem 1237. It's race time! Write a faster function than the test suite call of unique().

I'm sure some smarter person will find a faster method!

on 1 Feb 2013

Jeremy received Commenter badge for Solution 176726

on 30 Jan 2013

Jeremy submitted a Comment to Solution 176726

Watch out, they've inverted the dimes and nickels in the input vector!

on 30 Jan 2013

Jeremy received Promoter badge for Problem 9. Who Has the Most Change?

on 30 Jan 2013

Jeremy submitted Solution 197932 to Problem 20. Summing digits

on 29 Jan 2013

Jeremy submitted Solution 197450 to Problem 8. Add two numbers

on 28 Jan 2013

Jeremy received Solver badge for Solution 197444

on 28 Jan 2013