困扰很久的一个小问题。帮帮忙大神们
连续2000个点的数据。用下一个点的数据减去上一个点的数据(X2-X1 X3-X2…X2000-X1999 ),得到一组数据,如果这组数据是平稳的(正态分布,平均值接近0,方差较小),则X这条波形就是正常的;如果这组数据平均值不等于0,方差很大,则说明X这条波是故障波。请问一下这个功能怎么编写。谢谢大神们了!!! Y = diff(X) calculates differences between adjacent elements of X. If X is a vector, then diff(X) returns a vector, one element shorter than X, of differences between adjacent elements: chybeyond 发表于 2014-11-19 11:40
Y = diff(X) calculates differences between adjacent elements of X. If X is a vector, then diff(X ...
谢谢大神~!!!!
页:
[1]