help-octave
[Top][All Lists]
Advanced

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

Re: Is it correct to build a tree?


From: slaythemall
Subject: Re: Is it correct to build a tree?
Date: Wed, 15 Jun 2016 13:00:03 -0700 (PDT)

funkcja na dwóch przedziałach
x = -4:0.1:4;
y = trig(x);
plot(x, y)

function[y] = trig(x)

if x<=0
y = cos(x.^2);
else
y = 2.*sin(x.^3);
endif

endfunction



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Is-it-correct-to-build-a-tree-tp4677739p4677744.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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