trend

    3热度

    2回答

    我正在构建一个.net页面来模拟电子表格。该表包含此公式 =ROUND(TREND(AA7:AE7,AA$4:AE$4,AF$4),1) 有人可以提供相当于C#的TREND()吗?或者,如果任何人都可以提供一个快捷方式,那也可以;我对那里的数学不够熟悉,不知道是否有更简单的方法。 这里有一些示例编号,如果有帮助。 AA7:AE7 6 8 10 12 14 或 10.2 13.6 17.5 20

    1热度

    1回答

    所以我想做的是做一个趋势算法,我需要帮助与SQL代码,因为我不能得到它去。 有三个方面的算法:(我要想法完全开放的上一个更好的趋势算法) 1.Plays during 24h/Total plays of the song 2.Plays during 7d/Total plays of the song 3.Plays during 24h/The value of plays of the

    0热度

    1回答

    我有值,如矩阵: a=[ 3 7 10 3 1 5 10 5 3 2 4 8 10 7 4 3 4 2 1 4 5 7 10 8 7 6 6 4 3 2]; 现在我想选择相对最大值和最小值,从而 a=[ 3 0 10 0 1 0 10 0 0 2 0 0 10 0 0 0 0 0 1 0 0 0 10 0 0 0 0 0 0 2]; 我基本上是要适应从(1)到(3),然后从(3)到(5)等