Hi
I have a 100 observations and 4 variables. The first column variable is a string variable and the rest 4 column values contains numerical values. I need to create 100 vectors that are based on the observations (_N) with 1X3 dimensions (see below).
var1 var2 var3 var4
A1= [3 4 5]
A2= [5 5 5]
.
.
A100
Then I need to do matrix operations to compute Euclidean distance between every pair. Let me know if there is a way this task can be achieved.
Thanks for your help.
Best
Veeresh
I have a 100 observations and 4 variables. The first column variable is a string variable and the rest 4 column values contains numerical values. I need to create 100 vectors that are based on the observations (_N) with 1X3 dimensions (see below).
var1 var2 var3 var4
A1= [3 4 5]
A2= [5 5 5]
.
.
A100
Then I need to do matrix operations to compute Euclidean distance between every pair. Let me know if there is a way this task can be achieved.
Thanks for your help.
Best
Veeresh
Comment