Clear Filters
Clear Filters

Smoothing data on one half

1 view (last 30 days)
JVM
JVM on 2 Jun 2017
Edited: JVM on 2 Jun 2017
So, my problem is that I have a matrix with 3 columns and 64800 rows. The first column shows the longitude measured in degrees going from -179.5:179.5. The second column shows the latitude also in degrees going from -89.5:89.5. The third row shows a binary mask for Greenland. For every coordinate that is within Greenland the value is 1 and elsewhere the value is 0. I want to smooth the data so it is only smoothened away from the coast. Right now I have sorted the rows by row [1 2] and then smoothened the data and then sorted the rows by [2 1] and smoothened the data. My problem is, that the function smooth both away and onto the coast which means the total sum is remained. I want it to smooth outwards so that the sum gets larger by a factor I can choose.

Answers (0)

Community Treasure Hunt

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

Start Hunting!