分类 编程学习 下的文章

bsxfun Apply element-by-element binary operation to two arrays with singleton expansion enabled Syntax C = bsxfun(fun,A,B) Description C = bsxfun(fun,A,B)applies an element-by-element binary operation to arraysAandB, with singleton expansion enabled.fu- 阅读剩余部分 -

regress Multiple linear regression Syntax b = regress(y,X) [b,bint] = regress(y,X) [b,bint,r] = regress(y,X) [b,bint,r,rint] = regress(y,X) [b,bint,r,rint,stats] = regress(y,X) [...] = regress(y,X,alpha) Description b = regress(y,X)returns a p-by-1 - 阅读剩余部分 -

findpeaks Find local maxima Syntax pks = findpeaks(data) [pks,locs] = findpeaks(data) [...] = findpeaks(data,'minpeakheight',mph) [...] = findpeaks(data,'minpeakdistance',mpd) [...] = findpeaks(data,'threshold',th) [...] = findpeaks(data,'npeaks',np) [...] = fi- 阅读剩余部分 -