summaryrefslogtreecommitdiff
path: root/2048/DEPENDENCIES/zpowk.sci
blob: 4b5b43e8d5bae991391ca5fdbdfe7e1b036851d6 (plain)
1
2
3
4
5
6
7
// Evaluates z^-k.
// 9.6

function [zk,dzk] = zpowk(k)
zk = zeros(1,k+1); zk(1,k+1) = 1;
dzk = k;
endfunction