From help-octave-request at che dot utexas dot edu Mon Oct 31 09:45:11 1994 Subject: Is there an easy way to check if complex? From: svan at isy dot liu dot se (Jonas Svanberg) To: help-octave at che dot utexas dot edu Date: Mon, 31 Oct 94 16:45:01 +0100 I'm busy writing a laboration for a signal theory course here at the university. It will focus on gaussian noise and DFT. Just now I'm writing a function c=conv(a,b) that will make use of the fft and ifft functions included in the maindistribution. My guess is that Octave distinguishes between real and complex vectors. Am I right? In that case, is there a fast way to check if a matrix is complex? I think it is nice in a function like conv() if it produces real vectors when indata is real. Regards, Jonas Svanberg, University of Linköping Div. of Electrical Engineering, Information Theory SWEDEN