From help-octave-request at bevo dot che dot wisc dot edu Wed Dec 5 01:52:23 2001 Subject: Newbie: empty matix returned when expecting initialization. From: Balakumar Swaminathan To: help-octave at bevo dot che dot wisc dot edu Date: Wed, 05 Dec 2001 02:40:27 -0500 Hi, When I have the following listing in a file and invoke it, the "zm2" matrix remains an empty matrix; i cant figure out why. Any help is appreciated. Thanks. l=0.25; a=0.005; N=50; x1=-.906179845938664; x2=-.538469310105683; x3=0; x4=-x1; x5=-x2; w1=.236926885056189; w2=.478628670499366; w3=.568888888888889; w4=w1; w5=w2; ka=2*pi*a; kl=2*pi*l; klt=2*pi*l; zn=-kl/2:kl/N:kl/2; zm1=-(kl/2)+kl/(2*N):kl/N:-kl/(2*N); zm2=kl/(2*N):kl/N:((kl/2)-(kl/2*N)); zm=[zm1,0,zm2]; _________________________________________________________ Do You Yahoo!? Get your free at yahoo dot com address at http://mail.yahoo.com ------------------------------------------------------------- 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 -------------------------------------------------------------