Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to manipulate 2d array

Status
Not open for further replies.

milenko76

Technical User
Mar 26, 2010
100
PT
I have calculated some matrixes,I want to call from the main code and put that into one matrix.I have eight (7,7) arrays and I want to write them on diagonal of new array to create (56,56) array.Any ideas?
 
n=1
bigone(n:n+6,n:n+6) = first
n=n+7
bigone(n:n+6,n:n+6) = second
n=n+7
bigone(n:n+6,n:n+6) = third
n=n+7
bigone(n:n+6,n:n+6) = forth
.
.
.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top