What is the equivalent of MATLAB's repmat in NumPy
Asked 07 September, 2021
Viewed 736 times
  • 54
Votes

I would like to execute the equivalent of the following MATLAB code using NumPy: repmat([1; 1], [1 1 1]). How would I accomplish this?

7 Answer