How to create an antisymmetric tensor
Show older comments
I want to create an antisimmetric (skew symmetric) N x N x N x N array whose independent components are random variables generated by a gaussian distribution. I know how to create the random variables: I just use normrnd. The problem comes when I have to antisymmetrize the tensor. One idea was to use a generalized Kronecker delta function, but I don't know how to create one and I can't find any answers in the forum either.
Answers (1)
Sulaymon Eshkabilov
on 8 May 2019
Hi,
Here is one of the easy generators:
clearvars
N = 13;
for ii = 1:N
M(ii, :, :) = normrnd(0, 1, [N,N]);
end
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!