Code covered by the BSD License  

Highlights from
walsh code

walsh code

by

Ashish Verma (view profile)

 

Generation of walsh orthogonal code its simple using ready made function of matlab.

walsh_code.m
clc;
close all;
clear all;
len= input('Enter the length of Number of bits must be power of 2');        
walsh=hadamard(len);
LO= input('Enter the your code length requird');
user=input('Enter the number of user requird');
% orthogoanl code matrix 
ortho_user= walsh(1:user,1:LO)

Contact us