From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2048/CH9/EX9.6/zpowk.sci | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 2048/CH9/EX9.6/zpowk.sci (limited to '2048/CH9/EX9.6') diff --git a/2048/CH9/EX9.6/zpowk.sci b/2048/CH9/EX9.6/zpowk.sci new file mode 100755 index 000000000..4b5b43e8d --- /dev/null +++ b/2048/CH9/EX9.6/zpowk.sci @@ -0,0 +1,7 @@ +// Evaluates z^-k. +// 9.6 + +function [zk,dzk] = zpowk(k) +zk = zeros(1,k+1); zk(1,k+1) = 1; +dzk = k; +endfunction -- cgit