Weight data for function

3 次查看(过去 30 天)
Sarah Yun
Sarah Yun 2020-1-13
编辑: Sarah Yun 2020-1-13
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.

回答(0 个)

类别

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