0
$\begingroup$

Say I have a 3D vector V = <x,y,z> and I want to obtain another vector as W=<ax,by,cz>, I think I should multiply it with a vector or a matrix, so that M*V = W how can I calculate M for this purpose?

Thanks !

$\endgroup$

2 Answers 2

1
$\begingroup$

It should be like that:

\begin{matrix} a & 0 & 0\\ 0 & b & 0\\ 0 & 0 & c \end{matrix}

$\endgroup$
1
  • $\begingroup$ Wow. I feel like a noob :) Thanks ! Accepting in 9 mins. $\endgroup$
    – jeff
    Dec 20, 2013 at 9:40
1
$\begingroup$

M is the matrix

a 0 0

0 b 0

0 0 c

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .