On Fri, Jun 12, 2009 at 11:17 PM, John B. Thoo
<address@hidden> wrote:
Hi, everyone.
My question is about using the functions "real" and "imag" in
defining a vector. Specifically, why do I get the following error;
what does it mean; and what is the correct way?
octave-3.0.5:22> real (1)
ans = 1
octave-3.0.5:23> imag (1)
ans = 0
octave-3.0.5:24> x0 = [real (1), imag (1)]
error: real: too few arguments
error: evaluating assignment _expression_ near line 24, column 4
octave-3.0.5:24>
Thanks.
---John.
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave