Applying a weighting matrix to a data set
Ältere Kommentare anzeigen
Hello please how can I apply a weighting matrix to a data set with the plot shown below (a shotgun like scattered data and the data is attached named as "Ref_data.txt), and tranformed it to look like the Gaussian in the figure below (the data is attached named as "Refmodel.txt")


I would be happy if I can do this.
4 Kommentare
Image Analyst
am 23 Dez. 2022
Bearbeitet: Image Analyst
am 23 Dez. 2022
I think we've discussed this in your other question. Anyway, can we assume that ref_model is known? If so we can simply do
weightsVector = ref_data ./ ref_model;
And, by the way, ref_model is not a perfect Guassian. Where did you get it from?
TTA
am 23 Dez. 2022
Image Analyst
am 23 Dez. 2022
I'm not saying you need a perfect Gaussian. I don't know what you need because you have not explained the context of this situation.
- What does the signal represent in the real world?
- Is there any theoretical model for the physical situation you're experimenting on? If so, then that is the model that we should try to get parameters for.
- What will you do with this model once you have it? For example prediction of a new sample value? Why do you need the model anyway? Why can't you just use the original data to do whatever it is that you need to do?
I think a complete answer would need to know the answer to those three questions, at least.
TTA
am 23 Dez. 2022
Antworten (0)
Kategorien
Mehr zu Resampling Techniques finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!