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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

642Rank

3Badges

640Score

Rodolfo submitted a Comment to Problem 32. Most nonzero elements in row

How am I wrong here?
"a = [ ...
1 0 0;
0 0 0;
0 0 0;
0 0 0;
0 2 3];
r_correct = 5;"
My code says 2, I think it's correct, what am I missing?

on 12 Mar 2013

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

on 11 Mar 2013

Rodolfo submitted Solution 216036 to Problem 25. Remove any row in which a NaN appears

on 11 Mar 2013

Rodolfo submitted a Comment to Solution 109418

Even though there are smaller solutions, I prefer this one.

on 11 Mar 2013

Rodolfo submitted a Comment to Solution 103744

After the solution I come up with ends up in the middle of the graph I feel disappointed. But then I learn there's a command that does something I didn't know about and I feel better about myself because I learned a new command!

on 11 Mar 2013

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

on 7 Mar 2013

Rodolfo submitted Solution 214109 to Problem 6. Select every other element of a vector

on 7 Mar 2013

Rodolfo submitted Solution 214020 to Problem 6. Select every other element of a vector

on 7 Mar 2013

Rodolfo submitted Solution 214019 to Problem 6. Select every other element of a vector

on 7 Mar 2013

Rodolfo submitted Solution 213988 to Problem 3. Find the sum of all the numbers of the input vector

on 7 Mar 2013

Rodolfo submitted Solution 213987 to Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]

on 7 Mar 2013