Forum Discussion

ogungbile's avatar
ogungbile
Copper Contributor
Mar 17, 2020

Creating a Diagonal Matrix for a vector data

Good day to everyone. I am trying to create a diagonal matrix of dimension (900x900) from a vector data of n=900. Can someone guide me through how best I can generate the matrix?  Thanks  

Resources