Mercurial > hg > ddm
view ddm_lin_sys_sol.m @ 2:e2b116f3b69b
fixed reallocate and pinv_2_fast to work on Octave
added short example very quickly, might not be working properly
author | smusevic |
---|---|
date | Thu, 25 Jul 2013 13:07:07 +0100 |
parents | a4a7e3405062 |
children |
line wrap: on
line source
function dlss = ddm_lin_sys_sol(A_sys,b_sys,N_fft,R) dlss = zeros(ddm_dgr+1, N_fft-R+1); for l=1:N_fft-R+1 A = A_sys(:,:,l); b = b_sys(:,:,l); dlss(:,l) = [fliplr((inv(A'*A)*A' * b).') 0]; end end