help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Needed


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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]