[SciPy-User] [SciPy-user] least-square filter design

Tom K. tpk@kraussfamily....
Sun Nov 1 19:28:22 CST 2009



Tom K. wrote:
> 
>     a = np.dot(np.linalg.inv(R), r)
> 

It occurred to me that "inv" is not the right choice here...

Replace that line with:
    a = np.linalg.solve(R, r)

-- 
View this message in context: http://old.nabble.com/least-square-filter-design-tp26083443p26155428.html
Sent from the Scipy-User mailing list archive at Nabble.com.



More information about the SciPy-User mailing list