Registered Member
|
Hello!
My problem is: I have a one row matrix Mat1=(a,b,c) But I need a diagonal Matrix Mat2= a, 0, 0 0, b, 0 0, 0, c Is there some fast function for this conversion? Thanks |
Moderator
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]