Watch this Author's files
@ Atui Ingle: most probably, but I do not know of any; I "invented" the algorithm. The "penalty" method is very old and well known. -- Peter
very useful, thank you!
Is there a literature reference for the method used in the code?
Really well written code, exactly what I was looking for.
I want to specify only one breakpoint in between the end points -- something this code doesn't allow. But I guess it's an easy modification that I can make if needed.
Contact us at files@mathworks.com