Check out
http://pi.physik.uni-bonn.de/~dieckman/InfProd/InfProd.html#InfinitexProducts for a hint
My solution is the longest, and I followed James' tip. My tip is that there is a MATLAB function (Elementary Math) that computes this value with one call (no loops are required).
Find the longest sequence of 1's in a binary sequence.
3414 Solvers
960 Solvers
1269 Solvers
Determine Whether an array is empty
649 Solvers
MATCH THE STRINGS (2 CHAR) very easy
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!