Matlab function for discrete Walsh function generation.

Version 1.0.0 (1.8 KB) by Pedro
Recursive Matlab function to determine a specific Walsh function given an order and index.
56 Downloads
Updated 4 Dec 2019

View License

y = walshGenerator(N,K)

This function determine the Discrete Walsh function number N of order 2^K
using a recursive algorithm for lower memory requirements. N is a natural
number that ranges from 0 to 2^K-1, being N=0 the Walsh function without
zero crossings and N = 2^K-1 the Walsh function with the maximum
zero crossings (sequency order). This algorithm was been applied according to the
reference:
M. I. Irshid, "A Simple Recursive Definition for Walsh Functions,"
in IEEE Transactions on Electromagnetic Compatibility, vol. 28, no. 4,
pp. 276-279, Nov. 1986. doi: 10.1109/TEMC.1986.4307301
URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4307301&isnumber=4307283

Matlab function developed under the project Single-pixel-imaging of the University of Coimbra (Portugal).
If you use this function in your work please cite as:

Pedro G. Vaz, "Matlab recursive function for discrete Walsh function
generation (walshGenerator)", MATLAB Central File Exchange, University of Coimbra, Portugal (2019).

Pedro G.Vaz @ Universidade de Coimbra 2019
Cite As

Pedro (2019). Matlab function for discrete walsh function generation. (https://www.mathworks.com/matlabcentral/fileexchange/73545-matlab-function-for-discrete-walsh-function-generation), MATLAB Central File Exchange. Retrieved December 4, 2019.

Pedro G. Vaz, "Matlab recursive function for discrete Walsh function generation (walshGenerator)", MATLAB Central File Exchange, University of Coimbra, Portugal (2019).

Cite As

Pedro (2024). Matlab function for discrete Walsh function generation. (https://www.mathworks.com/matlabcentral/fileexchange/73546-matlab-function-for-discrete-walsh-function-generation), MATLAB Central File Exchange. Retrieved .

Pedro G. Vaz, "Matlab recursive function for discrete Walsh function generation (walshGenerator)", MATLAB Central File Exchange, University of Coimbra, Portugal (2019).

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Simulation, Tuning, and Visualization in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0