MATLAB Answers

Normalise data in Matlab

3 views (last 30 days)
Sarah Yun
Sarah Yun on 15 Jan 2020
Answered: Image Analyst on 15 Jan 2020
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.

  0 Comments

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 15 Jan 2020
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.

  0 Comments

Sign in to comment.

Sign in to answer this question.