Home > phiwave > @phiw_lemarie > dim_div.m

dim_div

PURPOSE ^

method to get/set number to divide dim by to get filter width

SYNOPSIS ^

function res = dim_div(o, num)

DESCRIPTION ^

 method to get/set number to divide dim by to get filter width
 FORMAT res = dim_div(o, num)
 
 get: n = dim_div(o);
 set: o = dim_div(o, num)

 $Id: dim_div.m,v 1.1 2004/09/26 07:52:12 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function res = dim_div(o, num)
0002 % method to get/set number to divide dim by to get filter width
0003 % FORMAT res = dim_div(o, num)
0004 %
0005 % get: n = dim_div(o);
0006 % set: o = dim_div(o, num)
0007 %
0008 % $Id: dim_div.m,v 1.1 2004/09/26 07:52:12 matthewbrett Exp $
0009   
0010 if nargin < 2
0011   % get
0012   res = o.dim_div;
0013 else
0014   % set
0015   o.dim_div = num;
0016   res = o;
0017 end

Generated on Wed 06-Jul-2005 18:07:21 by m2html © 2003