MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Function from 0 to 1 

Hey guys, does anyone know any nonlinear function that ranges from 0 to 1 where the input to the function is always greater than or equal to 0. When 0 is the input the functions output should be 0. 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goucbp$gbg$1@fred.mathworks.com>... 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goucbp$gbg$1@fred.mathworks.com>... 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goucbp$gbg$1@fred.mathworks.com>... 
"Matt " <xys@whatever.com> wrote in message <goucuh$og7$1@fred.mathworks.com>... 
If you want a nonoscillating function, here is one. 
"Matt " <xys@whatever.com> wrote in message <goud7u$e5g$1@fred.mathworks.com>... 
What do you mean by monotonic? I need a function that goes from 0 to 1 but as the input gets further from 0, the output is closer to 1. 
Hey Matt thanks yes thats what I need, but i dont seem to be able to get it work. Please show me how to. 
Nevermind Matt I figured it out. However I need one that does not reach 1 that fast, i would like it to reach 1 when the input is about 500 or so. Thanks! 
I need an increasing function that goes from 0 to 1 where it reaches starts increasing slowly at the beginning and with time it goes increasing more and more and then it slows down again. I hope I made myself clear. Kind of like starting with a x^3 graph but when getting close to 1 do the opposite behaviour. 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goucbp$gbg$1@fred.mathworks.com>... 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goueqh$qn$1@fred.mathworks.com>... 
"Diego Zegarra" <diegozbb@gmail.com> wrote in message <goueqh$qn$1@fred.mathworks.com>... 
"Justin Abbott" <abbottjj@NOPSAM.saic.com> wrote in message <goufs9$aeo$1@fred.mathworks.com>... 
Thanks John that gammainc was exactly the shape I was looking for! 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <goug7k$47k$1@fred.mathworks.com>... 
Why is 1/sqrt(3*alpha) not an inflection point? Maybe my calculus is rusty. 
"Justin Abbott" <abbottjj@NOPSAM.saic.com> wrote in message <gouhvs$sbs$1@fred.mathworks.com>... 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.