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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Rahul submitted a Comment to Solution 353843

function A = binary_numbers(n)
A = dec2bin(0:2^n-1);
end
This should give the correct solution, but fails in the Test Suite!!!

on 17 Nov 2013

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

on 17 Nov 2013

Rahul submitted Solution 345651 to Problem 16. Return the largest number that is adjacent to a zero

on 5 Nov 2013

Rahul submitted Solution 345616 to Problem 105. How to find the position of an element in a vector without using the find function

on 5 Nov 2013

Rahul submitted Solution 345615 to Problem 105. How to find the position of an element in a vector without using the find function

on 5 Nov 2013

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

on 5 Nov 2013

Rahul submitted Solution 342213 to Problem 14. Find the numeric mean of the prime numbers in a matrix.

on 30 Oct 2013

Rahul submitted Solution 341547 to Problem 10. Determine whether a vector is monotonically increasing

on 29 Oct 2013

Rahul submitted Solution 341508 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

on 29 Oct 2013

Rahul submitted Solution 341506 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

on 29 Oct 2013

Rahul submitted Solution 341505 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

on 29 Oct 2013