Create bipolar correlation lists

Hey everyone,

I am having a little trouble. I would like to create multiple lists of bipolar units (1,-1) with different correlations. So for example, find 4 different lists with a lenght/dimension of 50 with correlations of 0.5 between them. Anyone could help me code something like this?

Thanks in advance!

What have you tried? Please post your initial code.

Create bipolar correlation lists