View source: R/FindOptMatrix.R
FindOpt_SM | R Documentation |
Function that calculates the optimal low-rank signal matrix given partial column space basis
FindOpt_SM(X, M, r)
X |
The noisy data matrix |
M |
The column space that the output signal matrix contains |
r |
The rank of output signal matrix |
The resulting matrix is the solution the following problem:
min_{Y}{||X - Y||^2_F}
subject to
M is a subset of column space of Y
A matrix that is the solution to the optimization problem.
X = matrix(c(2,1,1,3,2,2),nrow = 3) M = matrix(c(1,1,0),nrow = 3) r = 2 FindOpt_SM(X,M,r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.