# HG changeset patch # User jwe # Date 848510911 0 # Node ID c5fdf05ee5da054e37bf69b92c7802a798e43f3b # Parent 6551a8230dedb119c553bc225cc1c8b170161bba [project @ 1996-11-20 17:28:31 by jwe] diff --git a/scripts/elfun/log2.m b/scripts/elfun/log2.m deleted file mode 100644 --- a/scripts/elfun/log2.m +++ /dev/null @@ -1,32 +0,0 @@ -## Copyright (C) 1996 John W. Eaton -## -## This file is part of Octave. -## -## Octave is free software; you can redistribute it and/or modify it -## under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. -## -## Octave is distributed in the hope that it will be useful, but -## WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with Octave; see the file COPYING. If not, write to the Free -## Software Foundation, 59 Temple Place - Suite 330, Boston, MA -## 02111-1307, USA. - -## log2 (z): compute the logarithm base 2 for each element of z. - -## Author: jwe - -function w = log2 (z) - -if (nargin != 1) - usage ("log2 (z)"); - endif - - w = log(z) / log(2); - -endfunction