"Torsten" wrote in message <firstname.lastname@example.org>... > "Bruno Luong" <email@example.com> wrote in message <firstname.lastname@example.org>... > > "A " <email@example.com> wrote in message <firstname.lastname@example.org>... > > > > > > > > It did not work with me. It says that there is no matching between the inner matrix! > > > > I bet there is no matching between what you post and what you test on your side. > > > > Bruno > > Looks as if the OP's vectors are row vector. not column vectors. > Otherwise I don't see why > X_orth*Y' > should give a scalar. > > Best wishes > Torsten.
It works with me !!
but I thought the result Should be zero ? Is there another way or making X'*Y=0 Since I am entering these in a program that evaluate orthogonality and should find it equals 0