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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

James submitted Solution 697780 to Problem 42445. Converter temp 0 to 200 degree C to 4 to 20mA

on 8 Jul 2015

James submitted Solution 697775 to Problem 42442. Determine if input is divisible by three.

on 8 Jul 2015

James submitted Solution 697773 to Problem 42442. Determine if input is divisible by three.

on 8 Jul 2015

James submitted a Comment to Problem 42421. Reverse a string

Palindromes are so oserasemordnilap

on 29 Jun 2015

James submitted a Comment to Problem 42418. Divisible by 16

Another trick: if the last 4 digits of the number are divisible by 16, the full number is divisible by 16. So far as I know, if the last X digits of a number are divisible by 2^X, the entire number is divisible by 2^X.

on 29 Jun 2015

James submitted a Comment to Solution 691188

No worries. Multiplication without the * symbol is easy enough. There's a reason the final variable in my first solution is named "cheat" though; I had no idea how to accomplish the final check otherwise.

on 25 Jun 2015

James submitted a Comment to Solution 691188

I didn't see that the check for the multiplication symbol was commented out for this test suite until I checked your solution...

on 25 Jun 2015

James submitted a Comment to Problem 42397. Megan's walk

For anyone who is looking for some pointers on this problem: http://xkcd.com/138/

on 22 Jun 2015