Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 4256

Questions about the Piecewise function, which is represented by different expressions for different ranges of values of its independent variable.

1
vote
1answer
After some simplifications I was eventually get the following piecewise function. mypdf[x_] =Piecewise[{ {Indeterminate, x == -1.12568412580949}, {(E^(-0.42044483028504587*x … plot this function very nicely. Below is a plot of it My eventual aim is to transfer this function to Matlab. I know how to do it from here but piecewise function is not recognized by Matlab and I …
asked Oct 27 '14 by Seyhmus Güngören
0
votes
1answer
I have the following piecewise function: f0[y_] :=(1/(E^((-2 + y)^2/2)*Sqrt[2*Pi]) + 1/(E^((2 + y)^2/2)*Sqrt[2*Pi]))/2 f1[y_] :=(1/(E^((-3 + y)^2/2)*Sqrt[2*Pi]) + 1/(E^((1 + y)^2/2)*Sqrt[2*Pi]))/2 … l[y_] :=f1[y]/f0[y] llua = 1.379804276200094`; zn =0.817051; g00nx[y_] :=Piecewise[{{f0[y]/(llua*zn), l[y] < llua^(-1)}, {f1[y]/(zn*Sqrt[llua*l[y]]), llua^(-1) <= l[y] <= llua}, {f0[y]/zn, l[y …
asked Dec 26 '14 by Seyhmus Güngören