...I immediately tried to design the estimation function to accept another function as an argument to be evaluated later. In a language with first-class functions, this would be trivial; MATLAB, unfortunately, is not such a language.
More
The first instinct of a lot of coders would have (including a couple people I asked) would be to use regular expressions. However, as any StackOverflow regular knows, applying a regex to XHTML summons the dark god Chthulu...
More