This doesn't seem to be a question about Julia, but a general programming question, so this isn't an appropriate forum. You may want to ask on some relevant stack exchange forum.
On Sat, Jul 4, 2015 at 12:40 PM, paul analyst <[email protected]> wrote: > How rotate a cube f1 to its edges are parallel to another cube (f2) ? > > I have two 3 dimensional orthogonal sets of the 1444 observation in each. > > julia> size(f1) > (1444,3) > julia> size(f2) > (1444,3) > > cor in each are real 0, > > julia> cor(f1) > 3x3 Array{Float64,2}: > 1.0 -2.39743e-16 3.8112e-16 > -2.39743e-16 1.0 -2.02954e-16 > 3.8112e-16 -2.02954e-16 1.0 > > julia> cor(f2) > 3x3 Array{Float64,2}: > 1.0 -5.55883e-17 1.76522e-17 > -5.55883e-17 1.0 1.70523e-15 > 1.76522e-17 1.70523e-15 1.0 > > There are also orthogonal: angle in degrees matrix of f1 > > 3x3 Array{Float64,2}: > 0.0 90.0 90.0 > 90.0 0.0 90.0 > 90.0 90.0 0.0 > > angle in degrees matrix of f2 > 3x3 Array{Float64,2}: > 0.0 90.0 90.0 > 90.0 0.0 90.0 > 90.0 90.0 0.0 > > > but angle in degrees betwen f1 and f2 are: > 90.6388 91.4539 88.8789 > 92.2294 90.6144 89.2666 > 88.8462 89.6773 92.377 > > angle in degrees betwen f2 and f1 are: > > 90.6388 92.2294 88.8462 > 91.4539 90.6144 89.6773 > 88.8789 89.2666 92.377 > > How rotate one of the cube to edges f1 are parallel to f2 ? > > first col f1 parallele to first col of f2 . etc... > > Paul > >
