Home > marsbar > @mardo_2 > has_whitener.m

has_whitener

PURPOSE ^

returns 1 if design has whitening filter

SYNOPSIS ^

function tf = has_whitener(D)

DESCRIPTION ^

 returns 1 if design has whitening filter

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function tf = has_whitener(D)
0002 % returns 1 if design has whitening filter
0003 %
0004 % $Id$
0005 
0006 tf = 0;
0007 SPM = des_struct(D);
0008 if isfield(SPM, 'xX')
0009   tf = isfield(SPM.xX, 'W');
0010 end

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019