I think this is a pretty simple question. I need a transformation that will take a Column vector e.g.: <a,b,c> and turn it into a 3x3 matrix where a is in position 1,1 and b in position 2,2 and c in position 3,3. i.e.: a diagonal matrix.(adsbygoogle = window.adsbygoogle || []).push({});

Any help?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Vector into a diagonal Matrix

**Physics Forums | Science Articles, Homework Help, Discussion**