From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 23 12:44:02 2003 Subject: Re: A Simple Matrix Construction Question From: A S Hodel To: Craig Stoudt Cc: help-octave at bevo dot che dot wisc dot edu Date: Thu, 23 Jan 2003 12:44:51 -0600 X = ones(m,1)*Y On Thursday, January 23, 2003, at 12:35 PM, Craig Stoudt wrote: > There is probably a really simple way to do the > following, but I'm suffering from a mental block. > > I have a row array 'Y' of arbitrary length, 1xn. > > I want to create an mxn matrix where all of the rows > are the same as 'Y'. > A. S. Hodel, Assoc. Prof, Dept. Elect & Comp Eng, Auburn University, AL 36849-5201 (334) 844-1854 200 Broun Hall hodelas at auburn dot edu http://www.eng.auburn.edu/~scotte ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------