Normalise data in Matlab

조회 수: 3 (최근 30일)
Sarah Yun
Sarah Yun 2020년 1월 15일
답변: Image Analyst 2020년 1월 15일
Hi,
I have rainfall time-series data for 5 sites (five columns in MATLAB) around a neighbourhood. This data spans 40 years.
I have a DTM of the neighbourhood.
I want to show this rainfall data as a gradient across the neighbourhood DTM extent.
I have normalized the rainfalldata to take values between 0 and 1.
Now, should I use ScatteredInterpolant to interpolate the normalised rainfall data onto the DTM array?
How should I do this?
Then, can I calculate the flow accumulation and plot the results, showing the gradient rainfall?
Can you help me here? Thank you.

답변 (1개)

Image Analyst
Image Analyst 2020년 1월 15일
If you have data for only some (x,y) locations and then you want to interpolate data values for the missing (x,y) locations, then you can use scatteredInterpolant(). See my attached demo and adapt it to your situation.

카테고리

Help CenterFile Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by