Tuesday, September 23, 2014

The Matlab Trick

Recently I had something tricky with Matlab.

[1 2 3]/[4 5 6]=0.4156  (this is equal to [1 2 3]*pinv([4 5 6]) )

[1 2 3]./[4 5 6]=[0.25 0.4 0.5]

These are two different things.

No comments:

Post a Comment