|
From: | Klaartje en Mathieu Melenhorst |
Subject: | Qustion about data range selection |
Date: | Sat, 7 Jan 2012 18:08:10 +0000 |
Dear All,
This may be a rather silly question, so please forgive me if I ask anything too trivial as I quite recently started to use Octave. In MathCad I used the boolean "if" to change a mathematic operation, depending on the input data. t:=0,(pi/100)..4pi y(t):=|sin(t) if t<=2pi |cos(t) if t>2pi How can this be implemented in Octave? Help is very much appreciated. Mathieu Melenhorst |
[Prev in Thread] | Current Thread | [Next in Thread] |