How to get the original matrix from derived matrix?!
2 次查看(过去 30 天)
显示 更早的评论
Hello!!
I am deriving the matrix of original spectra to make some corrections in all spectra. But after these corrections I need the original matrix. So, how do I get the original matrix back from the derived matrix?
Please, i need help!!
Many thanks for your help!
Jussara
0 个评论
回答(1 个)
Star Strider
2015-5-13
I would simply copy the original matrix to a separate variable. Then there is no need to recover it.
7 个评论
Walter Roberson
2015-5-14
Star Strider: the "baseline" has been subtracted out. Something akin to:
derived_matrix = f(A); %for some formula f
[slope, intercept] = do_fitting(derived_matrix);
corrected_derivation = (derived_matrix - intercept)/slope; %normalize using estimated parameters
corrected_A = f_inverse(corrected_derivation);
That is, representation is extracted from the original matrix, used to calculate a correction factor, the correction is applied to the representation information, and now the corrected representation should be transformed back to the original structure.
At the moment we can't say anything about how to do that back-calculation because we do not know how the representation is calculated.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time Series 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!