File Exchange Pick of the Week

Our best user submissions

Zero crossings on arbitrary signals

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.

crossing4.jpg

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.