From help-octave-request at bevo dot che dot wisc dot edu Mon May 12 04:06:48 2003 Subject: creating Inf*i From: "withaar" To: "octave-help" Date: Mon, 12 May 2003 10:05:11 +0100 Hi all, I need to create an imaginary infinity number. These methods don't work: a = complex(0,Inf) a = 1i*Inf Both methods multiply (0+i)*Inf and the result is NaN+Infi because 0*Inf is undefined. This, however, works: a = (1i*realmax)*2 Is there a better way to do this? cheers, Willem ------------------------------------------------------------- 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 -------------------------------------------------------------