Problem 722. Make a run-length companion vector
The first test case seems to be invalid answer. Please check it
Hi Wenwu: Could you be more specific about what you think the problem is?
See FileExchange's seqle . (disclaimer: I'm the author)
False exemple description
for i = 1:length(delta)
test = max(delta(1:i));
if test == delta(i) && delta(i)~= maxsofar
elseif test2 == delta(i) && delta(i)~= minsofar
this code despite its giving correct results it is rejected by the tests...
Problem Recent Solvers614
Remove the polynomials that have positive real elements of their roots.
Flip the vector from right to left
More from this Author50
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!