摘要
Mann-Kendall检验法(M-K法)是用于提取序列变化趋势的有效工具,也是“应用气候学实习”课程中重要的授课内容。由于M-K检验法计算过程较为繁琐,本文介绍了应用Matlab软件实现M-K法中统计量的自动计算,并基于Matlab-GUI实现了界面操作和自动制图,提高了处理数据和教学的效率。M-K法突变检验计算的难点在于秩序列s k的计算,可以通过双重for循环来实现,图片保存的位置、格式和名称可以通过对话框自主选择,图片可以保存为:.jpg、.bmp、.png、.gif等格式。
Mann-Kendall test(M-K method)is an effective tool for extracting the trend of a changed sequence,and it is also an important teaching content in the course of applied climatology practice.Because the calculation process of M-K test method is complex,this paper introduces the application of Matlab software to achieve the automatic calculation of statistics in M-K method,and achieves interface operation and automatic mapping based on Matlab/GUI.The design improves the efficiency of processing data and teaching.The difficulty of M-K mathod for the abrupt change analysis is the calculation of s k sequence,which can be achieved by double for cycle.The location,format and name of the image can be saved by a selecting dialog box.The picture can be saved as jpg,bmp,png and gif.
作者
胡琦
马雪晴
胡莉婷
王雅婧
徐琳
潘学标
HU Qi;MA Xueqing;HU Liting;Wang Yajing;XU Lin;PAN Xuebiao(The Experimental Teaching Center of Resources and Environmental Collage,China Agricultural University,Beijing 100193,China)
出处
《实验室研究与探索》
CAS
北大核心
2019年第12期48-51,107,共5页
Research and Exploration In Laboratory
基金
国家重点研发计划项目(2017YFD0300304,2017YFD0300404)
作者简介
胡琦(1987-),男,山东青岛人,博士,实验师,研究方向为气候变化、农业资源利用,Tel.:13716980016,E-mail:huq@cau.edu.cn。