Empty matrix imB in MATLAB.
Create an empty matrix imB in MATLAB. Copy-Paste the 0/1 matrix from MS-Excel to imB and convert the matrix to logical data type. Output matrix imB as a PNG file named “imB.png”
Create an empty matrix imG in MATLAB. Copy-Paste the 0-255 matrix from MS-Excel to imG and convert the matrix to 8-bit unsigned integer (uint8) data type. Output matrix imG as a PNG file named “imG.png”