Vector projection on matrix along diagonal.
Posted
by liborw
on Stack Overflow
See other posts from Stack Overflow
or by liborw
Published on 2010-04-07T17:05:33Z
Indexed on
2010/04/07
17:23 UTC
Read the original article
Hit count: 147
matlab
Hello, Is there a easy way how to produce following matrix:
a =
4 5 6 7
3 4 5 6
2 3 4 5
1 2 3 4
which is a projection of vector [1 2 3 4 5 6 7] along diagonal?
thanks
© Stack Overflow or respective owner