fsample.m 413 B

123456789101112131415
  1. function res = fsample(this, value)
  2. % Method for getting and setting the sampling rate
  3. % FORMAT res = fsample(this)
  4. % _______________________________________________________________________
  5. % Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging
  6. % Vladimir Litvak
  7. % $Id: fsample.m 3200 2009-06-12 17:29:40Z vladimir $
  8. if nargin == 1
  9. res = this.Fsample;
  10. else
  11. this.Fsample = value;
  12. res = this;
  13. end