MATLAB Online에서 열기 Because as written size() returns a two-vector andrate(end+1)is an address for a single array element -- you're trying to store two values into one location. I believe w/o testing that since you're passing a column vector thatfindpeakswill return the pks...