This paper deals with a notable absence of in the signal processing libraries of MATLAB/GNU Octave computer algebra systems (CAS): the Schmitt Trigger. As far as we are aware, MATLAB lacks an implementation of a Schmitt Trigger function. GNU Octave has a function built in signal package that implements a multi signal Schmitt trigger with levels, with inconstant results in our trials. We have implemented a compiled function in both suites, which solves the problem of the implementation and likewise the processing speed. Also, we are proposing a compiled implementation of this functionality compatible with both software suites. Compared to a script for loop implementation our function performs in average 10x faster in MATLAB and up to 2000x faster in GNU Octave, processing a 10^9 random vector in about less then 10s on a reference computer configuration.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.