Smoothing data on one half

조회 수: 1 (최근 30일)
JVM
JVM 2017년 6월 2일
편집: JVM 2017년 6월 2일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by