I have been working a lot with the technical support team here at the MathWorks. When the front line tech support people are stumped by technical questions, I try to give them a hand. Sometimes they need help because people want to do something in MATLAB that we at The MathWorks did not already put in the product. Inevitably, someone on MATLAB Central has already posted a file that does exactly what is needed.
Here is a case where the customer had some arbitrary signal data and wanted to know where it crosses zero. If this had been a continuous function of one variable, then I would have suggested fzero but with more arbitrary data, crossing.m by Steffen is exactly what we needed.
Comments are closed.