-
1 Comment
J.R.! Menzinger
on 5 Dec 2012
I has exactly the same idea!!
but on the second line I used directly the logical indexing... ;-)
Suggested Problems
-
7374 Solvers
-
Maximum running product for a string of numbers
2213 Solvers
-
17235 Solvers
-
Given a window, how many subsets of a vector sum positive
859 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
205 Solvers
More from this Author31
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!