


RESHAPEF reshape the frequency vector to match the xx vector. M Hewitson 31-01-07 $Id: reshapeF.m,v 1.1 2007/02/01 13:47:47 hewitson Exp $


0001 function fsd = reshapeF(fsd) 0002 0003 % RESHAPEF reshape the frequency vector to match the xx vector. 0004 % 0005 % M Hewitson 31-01-07 0006 % 0007 % $Id: reshapeF.m,v 1.1 2007/02/01 13:47:47 hewitson Exp $ 0008 % 0009 0010 if size(fsd.f, 1) ~= size(fsd.xx,1) 0011 fsd.f = [fsd.f].'; 0012 end 0013 if size(fsd.f, 1) ~= size(fsd.xx,1) 0014 error('### frequency and data vectors are not the same length.'); 0015 end 0016 0017 0018 % END