A 3-D matrix A has dimensions (181, 33, 65). The repmat function does the above operation and returns a 4-D matrix B of dimensions (181, 33, 65, 13). I tried in several ways in Python but was unsuccessful. Could someone suggest me a quick answer?
Asked
Active
Viewed 23 times
0
-
You also have [numpy.matlib.repmat](https://numpy.org/doc/stable/reference/generated/numpy.matlib.repmat.html) – Guy Aug 31 '22 at 08:56
-
numpy.matlib.repmat takes in only 3 arguments, while in the code I have 5 arguments. – Nirmal Aug 31 '22 at 09:00
-
@Nirmal your code has 2 arguments, separated by a coma. – Ander Biguri Aug 31 '22 at 09:36