Walsh Functions
The function waslh_func.m computes the Walsh Function of order n and length m
Example:
[W,t]=walsh_func(1000,5);
Results:
W is the Walsh function of order 5 and lenght 1000
t is equal to linspace(-0.5,0.5,1000);
I follow the description of Walsh Functions given in
Germán Castellanos Domíngez and Álvaro Ángel Orozo Gutiérrez.
Representación de señales y sistemas. Universidad Tecnológica de Pereira, Pereira, Colombia. 2007.
I make use of dec2gc.m of Arjun Srinivasan Rangamani
Cite As
Diego Guarin (2024). Walsh Functions (https://www.mathworks.com/matlabcentral/fileexchange/29590-walsh-functions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: dec2gc.m
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.