比如一维数组A=[0,0.1,0,0.1,0.2,0.3,0.4,0.4,0.3,0.2,0.1,0.1, ,0, 0,0.1,0,0.1,0.2,0.3,.0.4,0.5,0.3,0.2,0.1,0.1,0, 0,0.1,,0,0,0.1,0.2,0.3,.0.5,0.6,0.3,0.2,0.1,0,0.1,],想提取大于阈值0.2的各个脉冲序列(即最终提取结果是有三个数组,每个数组值是红色标记内容,如第一个数组为[0,0.1,0.2,0.3,0.4,0.4,0.3,0.2,0.1,0.1, ,0]) 实际上类似于图片所示,如何能够忽略掉噪声小毛刺,分别提取信号的脉冲序列? 现在自己的想法是先判断脉冲是不是过阈值,然后倒退回去找第一个过零点。。。但是不知道如何融labview实现,也不知道这个思路对不对。 求教各位大神如何实现呢? |
更多回帖