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 Comments

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?
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
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.
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

Sign in to comment.

Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Asked:

TTA
on 23 Dec 2022

Commented:

TTA
on 23 Dec 2022

Community Treasure Hunt

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

Start Hunting!