[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
detecting a sign change in a vector
From: |
dirac |
Subject: |
detecting a sign change in a vector |
Date: |
Thu, 31 Jan 2013 09:52:29 -0800 (PST) |
Hi there people,
This might be trivial but I am stuck on this.
I have a vector, V, which basically contains the values of a cos/sin
function. The signs of the elements in the vector change from + to -
occasionally. I would like to find these points without using a loop as I
have done in the past. Is there a way to do this?
Thanks
MA
-----
Still learning everyday.
--
View this message in context:
http://octave.1599824.n4.nabble.com/detecting-a-sign-change-in-a-vector-tp4649327.html
Sent from the Octave - General mailing list archive at Nabble.com.
- detecting a sign change in a vector,
dirac <=