Home > classes > @xydata > reshapeX.m

reshapeX

PURPOSE ^

RESHAPEX reshape the X to match the Y vector.

SYNOPSIS ^

function xy = reshapeX(xy)

DESCRIPTION ^

 RESHAPEX reshape the X to match the Y vector.
 
 M Hewitson 31-01-07
 
 $Id: reshapeX.html,v 1.2 2007/07/10 05:37:13 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function xy = reshapeX(xy)
0002 
0003 % RESHAPEX reshape the X to match the Y vector.
0004 %
0005 % M Hewitson 31-01-07
0006 %
0007 % $Id: reshapeX.html,v 1.2 2007/07/10 05:37:13 hewitson Exp $
0008 %
0009 
0010 if size(xy.x, 1) ~= size(xy.y,1)
0011   xy.x = [xy.x].';
0012 end
0013 
0014 % END

Generated on Wed 04-Jul-2007 19:03:10 by m2html © 2003