求助,matlab中出现??? Undefined function or method 'fra' for input arguments of type 'double'.
求助,matlab中出现??? Undefined function or method 'fra' for input arguments of type 'double'.
日期:2018-03-22 10:18:21 人气:3
fra不是matlab自带的函数要自己编写
function f=fra(len,inc,x)
fh=fix(((size(x,1)-len)/inc)+1)
f=zeros(fh,len);
i=1;n=1;
while i<=fh
j=1;
while j<=len
f(i,j)=x(n);
j=j+1;n=n+1;
end
n=n