I think test suite 3 produces 4 positives, not 3.
I agree with the above comments
Oops. Fixed. thank you.
Test suite 3 doesn't seem to be correct. Total windows possible in this case is 2. How can number of positive windows be greater than that. Someone please clarify.
e what they mean by window so if someone could explain that would be greatly appreciated.
Window is how many numbers you are adding together for every position
cheat - does not solve the problem
Added new test, should be re scored soon. Thank you!
Find the longest sequence of 1's in a binary sequence.
middleAsColumn: Return all but first and last element as a column vector
Remove the two elements next to NaN value
Rotate input square matrix 90 degrees CCW without rot90
Close MATLAB with keyboard
Get ranking of a combination
Getting the absolute index from a matrix
Getting the indices from a vector
Project Euler: Problem 6, Natural numbers, squares and sums.
Implement simple rotation cypher
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office