https://jp.mathworks.com/help/5g/ref/nrpbch.html
nrPBCH - Generate PBCH modulation symbols - MATLAB
This MATLAB function returns the physical broadcast channel (PBCH) modulation symbols for the physical layer cell identity number ncellid.
generatemodulationsymbolsmatlab