Home > classes > @tsdata > reshapeT.m

reshapeT

PURPOSE ^

RESHAPET reshape the time-vector to match the x vector.

SYNOPSIS ^

function ts = reshapeT(ts)

DESCRIPTION ^

 RESHAPET reshape the time-vector to match the x vector.
 
 M Hewitson 31-01-07
 
 $Id: reshapeT.m,v 1.1 2007/02/01 13:47:47 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ts = reshapeT(ts)
0002 
0003 % RESHAPET reshape the time-vector to match the x vector.
0004 %
0005 % M Hewitson 31-01-07
0006 %
0007 % $Id: reshapeT.m,v 1.1 2007/02/01 13:47:47 hewitson Exp $
0008 %
0009 
0010 if size(ts.t, 1) ~= size(ts.x,1)
0011   ts.t = [ts.t].';
0012 end
0013 
0014 % END

Generated on Mon 02-Jul-2007 12:19:41 by m2html © 2003