def estimate_X_LS(y,H):
""" Estimator of x for the Linear Model using Least Squares Estimator
.. math::
\\widehat{\\textbf{X}}=\\textbf{H}^{\dagger}\\textbf{Y}
"""
N,L=H.shape
H=np.matrix(H)
X=lg.pinv(H)*y
return X
评论列表
文章目录