binary to hex MATLAB source code
This page of MATLAB source code covers binary to hex conversion.
%function [hexa] = bin2hexa(binvect)
binvect=[1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 1 1 1 0 1 0 0 1 1 0 0 1 0]
leng = length(binvect);
hexa = [];
for p = 1:leng/4
hexa = [hexa sum(2.^[3 2 1 0] .* binvect((p-1)*4+[1:4]))];
end
hex = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'];
hexa = hex(hexa+1)
Input and Output

Useful Links to MATLAB codes
Refer following as well as links mentioned on left side panel for useful MATLAB codes.
OFDM Preamble generation
Time off estimation corr
Freq off estimation corr
channel estimation
11a WLAN channel
PN sequence generation
OFDMA Tx Rx
AES DES
carrier aggregation
CCDF
FIR Filter
IIR Filter
Low Pass FIR
Viterbi decoder
CRC8 CRC32
RF and Wireless tutorials
WLAN 802.11ac 802.11ad wimax Zigbee z-wave GSM LTE UMTS Bluetooth UWB IoT satellite Antenna RADAR