git-svn-id: http://moon:8086/svn/matlab/trunk@157 801c6759-fa7c-4059-a304-17956f83a07c
This commit is contained in:
2022-06-16 06:16:47 +00:00
parent 9c60c50492
commit 579c1544b1
29 changed files with 1210 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
function P = fir_polyfit(M, R, hp, Nb, offset)
Np = length(hp);
order = M - 1;
for k=1:Nb,
P(k,:) = polyfit((0:R)/R, hp(offset+(k-1)*R+1:offset+k*R+1), order);
end;