This thesis sets out to implement the first part of the user equipment side of the 5G random access procedure in Matlab connected to a software defined radio device. The goal is to successfully transmit the first random access preamble to a 5G base station located at LTU. A full implementation successfully decoding the first three system messages Master Information Block, Downlink Control Information and System Information Block 1 was developed. A successful transmission of the random access preambles was not possible as the Matlab SDR API did not provide enough control of the timing of transmitted samples.