|
From: | Liam Groener |
Subject: | Help Needed |
Date: | Thu, 19 Nov 2009 19:03:05 -0800 |
I'm not an expert and I'm not sure how general you want the matrix A to be, but how about: function B = fillit(A) n = (size(A))(1); m = n/2; C = A(m:n) R= A(m:-1:1)' B = toeplitz(C,R); endfunction
[Prev in Thread] | Current Thread | [Next in Thread] |