Function to generate OVSF code

Function to generate OVSF code. Read file for usage details or refer description.
2.2K Downloads
Updated 16 Jun 2009

View License

This function generates OVSF code (Orthogonal Variable SPreading Factor)
Usage:

x = ovsf(y,z)
x, the output cell array having required OVSF codes
y, number of codes required
z, array having length of each code to the base 2 i.e. 2.^2 = 4
example y = 3 z = [4 2 3]
this will give a cell array with [1x4] [1x8] [1x16]
length = 2.^n , enter n in length of array
The code is not optimized yet, user is free to optimize
do not forget to leave a comment

This is version 1 of the file, and it need optimization. More details of OVSF code can be found on wirelesscafe.wordpress.com

Cite As

Ashwini Patankar (2024). Function to generate OVSF code (https://www.mathworks.com/matlabcentral/fileexchange/24453-function-to-generate-ovsf-code), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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.0