matlab 非零,求连续数

来源:互联网 发布:怎么看淘宝买家好评率 编辑:程序博客网 时间:2024/05/16 08:22

y=[0;diff(x)]

[x y]

find(y~=0)即第几行开始变化

0 0