I have generated the structure with roughness (as attached in the figure) through MATLAB code.The yellow region are metal and blue region denote Roger substrate.Is there any way of implementing this attached figure in CST Microwave Studio?
You can try to import your Matlab generated structure in compatible format to CST MWS. In CST, click on File>>Import>>(see compatible format that can be exported from Matlab)