大家有没有VC++的群,如果有请告诉我

大家有没有VC++的群,如果有请告诉我
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
MK检验程序出错有大侠-MK.m % Time Series Trend Detection Tests % %     [ z, sl, lcl, ucl ] = trend % % where   z   = Mann-Kendall Statistic %         sl  = Sen's Slope Estimate %         lcl = Lower Confidence Limit of sl %         ucl = Upper Confidence Limit of sl %         y   = Time Series of Data %         dt  = Time Interval of Data % % Bob Newell, February 1996 % %-------------------------------------------------- % load unnamed1.mat; y=unnamed1; function [ z, sl, lcl, ucl ] = trendMK % n = length; %-------------------------------------------------- % Mann-Kendall Test for N > 40 % disp; if n < 41,   disp; end; % calculate statistic s = 0; for k = 1:n-1,   for j = k 1:n,     s = s sign - y );   end; end; % variance v = * ) / 18; % test statistic if s == 0,   z = 0; elseif s > 0,   z = / sqrt; else   z = / sqrt; end;             % should calculate Normal value here nor = 1.96; % results disp ] ); disp ) ] ); disp ] ); if abs < nor,   disp;   z = 0; elseif z > 0,   disp; else   disp; end; %---------------------------------------------------- %             disp; % calculate slopes ndash = n * / 2; s = zeros; i = 1; for k = 1:n-1,   for j = k 1:n,     s = - y ) / / dt; i = i 1;   end; end; % the estimate sl = median; disp ] ); % variance v = * ) / 18; m1 = fix ) / 2 ); m2 = fix ) / 2 ); s = sort; lcl = s; ucl = s; disp( [ '     Lower Confidence Limit = ' ...                              num2str ] ); disp( [ '     Upper Confidence Limit = ' ...                            num2str ] ); %---------------------------------------------------- % the end

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值