Applies orthogonal signal correction model to new data.
- newx = oscapp(x,nw,np,nofact)
Inputs are the new data matrix x, weights from the OSC model nw, and loadings from the OSC np.
Optional input nofact can be used to restrict the correction to a smaller of factors than originally calculated.
The output is is the corrected data matrix newx.
Note: input data x must be centered and scaled like the original data!