testpeakfind.m
来自「A fast customizable function for locatin」· M 代码 · 共 7 行
M
7 行
x=[1:1000000];
load test y
starttime=cputime;
ShortenFactor=1;
P=findpeaks(shorten(x,ShortenFactor),shorten(y,ShortenFactor),0.0000000007,.5,50./ShortenFactor,50./ShortenFactor);
ElapsedTime=cputime-starttime
size(P)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?