我想使用NumPy执行以下MATLAB代码的等价物:repmat([1; 1], [1 1 1]).我怎么做到这一点?
repmat([1; 1], [1 1 1])
python matlab numpy
matlab ×1
numpy ×1
python ×1