Hey, I'm trying to translate some MATLAB code into Julia, and I ran into this.
Consider this code in MATLAB: 1. nx=12;ny=nx;nz=nx; x=1.0; 2. F=repmat(x/19,[nx ny nz 19]); To translate line 2 into Julia, I'd have to use repeat(), and so this is how I translated it. F=repeat([x/19], outer = [nx,ny,nx,19]) displays the result I'm looking for. However, size(F) in MATLAB (or Octave) says 12 12 12 19, while size(F) in Julia says (12,12,0,0). Why does this happen? Does Julia not allow its arrays to scale beyond two dimensions?
