help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Piecewise function in octave


From: genehacker
Subject: Piecewise function in octave
Date: Wed, 15 Oct 2008 13:57:59 -0700 (PDT)

Hi,

    I am looking for a code that can specify a function f(t) piecewise, i.e.
that can be defined according to intervals based on value of t. I want to
integrate one of these in an anonymous function g(x,t).

f(t) = sin(t)  t<pi
        0         t>=pi

cheers
k3
-- 
View this message in context: 
http://www.nabble.com/Piecewise-function-in-octave-tp20002314p20002314.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]