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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

James submitted a Comment to Problem 42472. Counting pulses in a signal

I can get the pulses counted correctly, but they start counting at the end of the pulse, rather than the beginning. Any help from the Simulink non-newbies out there?

on 3 Aug 2015

James submitted a Comment to Problem 42460. The cake is a lie...

You're half right: the cuts have to be straight. The cake is 3-D, though. Assume the cake is a rectangular solid, and all cuts are planar.

on 28 Jul 2015

James submitted Solution 706938 to Problem 2692. design a magic matrix without using the command magic.

on 27 Jul 2015

James submitted Solution 704679 to Problem 2356. Simulating the selection of a state with given probabilities

on 22 Jul 2015

James submitted Solution 704159 to Problem 2861. Is the test point on the line segment?

on 21 Jul 2015

James submitted Solution 703995 to Problem 2216. Given an input string, generate a variable name out of it

on 21 Jul 2015

James submitted Solution 703975 to Problem 42385. Combined Ages 4 - Non-symmetric with multiples, n ≥ 3

on 21 Jul 2015

James submitted Solution 703969 to Problem 42383. Combined Ages 3 - Non-symmetric, n ≥ 3

on 21 Jul 2015

James submitted Solution 702645 to Problem 42455. Divisible by n, prime divisors - 11, 13, 17, & 19

on 17 Jul 2015

James submitted Solution 701193 to Problem 42457. Get the array of sum for three consecutive numbers in an array

on 15 Jul 2015

James submitted Solution 699988 to Problem 42454. Divisible by n, prime divisors (including powers)

on 13 Jul 2015

James submitted Solution 699980 to Problem 42456. Create an array (n,n) where only diagonal elements are '1' and others are '0'

on 13 Jul 2015

James submitted Solution 699979 to Problem 42456. Create an array (n,n) where only diagonal elements are '1' and others are '0'

on 13 Jul 2015

James submitted Solution 699978 to Problem 42456. Create an array (n,n) where only diagonal elements are '1' and others are '0'

on 13 Jul 2015

James submitted Solution 699841 to Problem 42453. Divisible by n, prime vs. composite divisors

on 13 Jul 2015

James submitted a Comment to Solution 699828

Alfonso, I've submitted the same values of x1 and x2 four times, and I've received four different distances. The solution numbers are 697837 and 699826-699828. I ran into this issue on my own computer, but thought it was just due to a much earlier version of MATLAB mucking things up. I'm not nearly smart enough to figure out why this is happening. Any thoughts?

on 13 Jul 2015