From: DSPtree on 13 Jul 2010 01:04 Hi, help me with the function that does (x)= x if x>=0 0 if x<0
From: Torsten Hennig on 13 Jul 2010 01:25 > Hi, help me with the function that does > > (x)= x if x>=0 > 0 if x<0 function f=myfun(x) if (x>0) f=x; else f=0.0; end; Best wishes Torsten.
From: Cris Luengo on 13 Jul 2010 05:39 DSPtree <paulscot45(a)yahoo.com> wrote in message <918666703.20297.1279011925051.JavaMail.root(a)gallium.mathforum.org>... > Hi, help me with the function that does > > (x)= x if x>=0 > 0 if x<0 Why is this URGENT??? x = max(x,0); Cheers, Cris.
From: Walter Roberson on 13 Jul 2010 09:25 DSPtree wrote: > Hi, help me with the function that does > > (x)= x if x>=0 > 0 if x<0 @(x) x .* x >= 0;
|
Pages: 1 Prev: how to unlock file when fid cleared? Next: Patch and different area color for 4 squares |