Filter löschen
Filter löschen

How to get the original matrix from derived matrix?!

2 Ansichten (letzte 30 Tage)
Jussara Roque
Jussara Roque am 13 Mai 2015
Kommentiert: Walter Roberson am 14 Mai 2015
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

Antworten (1)

Star Strider
Star Strider am 13 Mai 2015
I would simply copy the original matrix to a separate variable. Then there is no need to recover it.
  7 Kommentare
Jussara Roque
Jussara Roque am 14 Mai 2015
I'm using the savgol for calculate the derived matrix the samples and the spectra the solvent. And to correct the solvent signal, I'm subtracting the spectra of each sample and the spectra the solvent. So, the spectra resulting this operation is obtained derived and I want this new matrix with the original data (without derived but with correction the solvent applied in the derived matrix).
Walter Roberson
Walter Roberson am 14 Mai 2015
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Time Series finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by