Problem 57939. Sequence Vectorization - II
Solution Stats
Problem Comments
-
3 Comments
Am I missing something?
In test 7, there is a sequence 1:7 that seems to come out of nowhere.
Also, in test 10, there are 2 issues: 1) line 3 is missing a parenthesis, and 2) the array t has only 25 elements, but is evaluated for a random index between 1 and 100.
Apologies William, the reference answer to test case #7 was incorrect and as you mentioned test case #10 had issues.
I have corrected the errors, and your solution has been rescored. Please rate the question!
Good problems!
Solution Comments
Show commentsProblem Recent Solvers8
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52517 Solvers
-
171 Solvers
-
Construct a string from letters and counts
146 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
554 Solvers
-
Number of odd and even elements within matrix
159 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!