[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ARG?
From: |
Bazman76 |
Subject: |
Re: ARG? |
Date: |
Tue, 21 Jun 2011 07:04:41 -0700 (PDT) |
Thanks to both of you.
I thought arg might be equivalent to phase but its use seems strange that it
is used here?
The author seems to be using
badidx=find(abs(arg(S))>0);
to test if S is complex at any point in the array.
But if that is the case why not use isreal()?
And I don't see how S could be complex from the code above?
The only square root used is rdt which is stricly positive?
Can randn produce complex numbers?? (surely not)
Baz
--
View this message in context:
http://octave.1599824.n4.nabble.com/ARG-tp3613617p3614186.html
Sent from the Octave - General mailing list archive at Nabble.com.
- ARG?, Bazman76, 2011/06/21
- Re: ARG?, Ben Abbott, 2011/06/21
- Re: ARG?, Jordi GutiƩrrez Hermoso, 2011/06/21
- Re: ARG?,
Bazman76 <=
- Re: ARG?, James Sherman Jr., 2011/06/21
- Re: ARG?, Bazman76, 2011/06/21