Polynomial of Random Variables
Afficher commentaires plus anciens
Does MATLAB has a special type of commends to create polynomial of random variables?
I mean that I want to create polynomials of variable like
, and
from 
, and
from 
Furthermore, I want to plot pdf, or calculate mean of those kind of functions.
For example, I tried using command "makedist" to create "pd1" which represents
.
.pd1=makedist('Normal')
Then, I can plot its pdf or calculate mean like following.
x=[-2:0.1:2]
y=pdf(pd1,x)
plot(x,y)
m=mean(pd1)
After that, I wanted to create variable "pd2" that correspond to
for
such that I can repeat previous trials ,such as plotting pdf or calculating mean, variance like following.
such that I can repeat previous trials ,such as plotting pdf or calculating mean, variance like following.x=[-2:0.1:2]
y=pdf(pd2,x)
plot(x,y)
m=mean(pd2)
Does anyone know how to create "pd2" that I mentioned by using given "pd1"? I tried commends like following but it failed.
pd2=pd1.^2+2
In general, does anyone know how to create polynomial of given random variable?
Any help or advise would be thankful.
2 commentaires
dpb
le 28 Juil 2019
In expressions like Z^4 + Z + 2 are the Zi same for each term or independent samples?
Jinman Park
le 28 Juil 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Exploration and Visualization dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!