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

Learn moreOpportunities for recent engineering grads.

Apply TodayJulio submitted Solution 114333 to Problem 506. Back to basics 25 - Valid variable names

on 18 Jul 2012

Julio submitted Solution 114324 to Problem 413. Back to basics 23 - Triangular matrix

on 18 Jul 2012

Julio submitted Solution 114323 to Problem 353. Back to basics 9 - Indexed References

on 17 Jul 2012

Julio submitted Solution 114317 to Problem 763. Find the elements of a matrix according to a defined property.

on 17 Jul 2012

Julio submitted a Comment to Problem 774. Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4

In row 3, the element 4 is not less than 4 but less than or equal to 4 or greater than or equal to 4. This is the reason for removing this row.

on 20 Jun 2012

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

on 18 Jun 2012

Julio submitted Solution 99417 to Problem 314. Find the sum of the elements in the "second" diagonal

on 17 Jun 2012

Julio submitted Solution 98087 to Problem 3. Find the sum of all the numbers of the input vector

on 13 Jun 2012

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

on 13 Jun 2012

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

on 13 Jun 2012

Julio submitted Problem 763. Find the elements of a matrix according to a defined property. to Community

on 13 Jun 2012

Julio submitted Problem 762. Matrix which contains the values of an other matrix A at the given locations. to Community

on 13 Jun 2012

Julio submitted Problem 761. Create a matrix X, where each column is a shifted copy of the vector v to Community

on 13 Jun 2012

Julio submitted Solution 39883 to Problem 54. Maximum running product for a string of numbers

on 13 Feb 2012

Julio submitted Solution 39673 to Problem 138. Number of 1s in the Binary Representation of a Number

on 13 Feb 2012

Julio submitted a Comment to Solution 37925

yes of course. Leading solution:
function b = matInc(a)
[b aa] = ndgrid(1:max(a), a);
b(b > aa) = 0;
end
regards,

on 12 Feb 2012