Advertisement
stev4

Untitled

Nov 8th, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. using LinearAlgebra;
  2. d=11
  3. A = triu(ones(d,d)*3,+1)+tril(ones(d,d)*6,-1)+Diagonal(ones(d,d)*4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement