Construct matrix with random variables as elements

Can someone provide an example of what this would look like using tt.stack? I tried tt.concatenate(…) like this answer suggests but I’m getting a “TypeError: Join cannot handle arguments of dimension 0”. Since the OP replied using “tt.stack worked”, I’m wondering if @awareeye ran into the same problem?