Combining files and mapping them using x and y coordinates

I have conducted an experiment that includes four different participants. I basically measure two different variables "E" and "R" at different locations identified by x and y coordinates. So, I have four different files one for each participant. What I want to do is to compare the x and y coordinates for the different participants, if they are equal(which means at the same location) I need to get the average of "E" and "R", if they are not at the same location, just store the E and R values as it is.
In the end I need one matrix showing one value for each of E and R at all different locations.
How can I do that in Matlab?

 Accepted Answer

Thanks to everyone for not answering my question :)
I had it done!

More Answers (1)

Hi if you already figured it out, would you please help me? I have the exact same question! THanks

2 Comments

If possible, please send me your email and I will be happy to share the script with you.
I send you an email with my email address. Thanks, Please let me know if you did not get that.

Sign in to comment.

Asked:

on 23 Apr 2013

Commented:

on 7 Nov 2014

Community Treasure Hunt

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

Start Hunting!