问题描述:
哪位大神详细的解释一下matlab中的一段程序
function s = getspline(x)
N = length(x);p = findpeaks(x);
s = spline([0 p N+1],[0 x(p) 0],1:N);
function s = getspline(x)
N = length(x);p = findpeaks(x);
s = spline([0 p N+1],[0 x(p) 0],1:N);
问题解答:
我来补答展开全文阅读