I am trying to convert a MATLAB code in Python. I don\'t know how to initialize empty matrix in Python.
MATLAB Code:
demod4(1) = [];
rows = 3 columns = 2 M = [[0]*columns]*rows
Or you could also use '' instead of 0
print(M)
Output:
M = [[0, 0], [0, 0], [0, 0]]