Weight data for function

3 views (last 30 days)
Sarah Yun
Sarah Yun on 13 Jan 2020
Edited: Sarah Yun on 13 Jan 2020
Hi,
I am using chi transform function for DTM.
c = chitransform(S,A);
where S = STREAMobj
and A = flow accumulation
I have generated an output array for c (It is long list of numerical values).
I want to re-run chitransform function 2nd time. But this time, I want to change the A variable to weighted values for snowfall data.
Snowfall data, Z, is an array with numerical values.
This means all the values for A must be weighted, normalised i.e. from 0 to 1, with respect to Z and substituted to chi transform function, c.
What is the easiest way to do this with Matlab code for a beginner?
Thank you.

Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!