Applying a weighting matrix to a data set

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

Image Analyst
Image Analyst 2022년 12월 23일
편집: Image Analyst 2022년 12월 23일
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
TTA 2022년 12월 23일
Thanks @Image Analyst. The model is just an example of what I want. As you can see, they do not have the same length.
Please are you saying I need a perfect Gaussian model? and also what do I do with weithsvector. i'm just stuck :)
Thanks
Image Analyst
Image Analyst 2022년 12월 23일
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.
  1. What does the signal represent in the real world?
  2. 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.
  3. 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
TTA 2022년 12월 23일
The data is a meridional refractivity which is highest at the equator and decrases towards the higher latitudes.
I dont need the model actually. I only put it here to show an example of what I am interested in.
Please if you can, kindly the section 3 of this paper to see exactly what the problem is.
I would be happy if you can help
Thanks

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

TTA
2022년 12월 23일

댓글:

TTA
2022년 12월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by