Help for Monte Carlo method
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi guys . i am using monte carlo method to calculate uncertainity. My matlab codes are working properly-However i want to ask question . I wiil be very glad if i recieve an answer. Lets assume that one of my parameter has two uncertainty art like(Type a and Type B errors) Do you know how can i add both of them in my model. exp: F=m.a mass has 2 uncertainty type. Assume that first one Type A normal distribution and second one Type B rectangular. how can i add them
mass_rc=random('norm',100000,0.05,1,M);
0 Kommentare
Antworten (1)
Torsten
am 7 Aug. 2015
If the errors are independent and you know a formula how they combine (Uc=f(Ua,Ub)), you can independently generate Ua and Ub from their distributions, calculate Uc according to your combination formula and add/subtract (with probability 1/2) Uc from the mean value of the variable in question.
But the function f is not Monto-Carlo specific - you must know it in advance.
Best wishes
Torsten.
2 Kommentare
Siehe auch
Kategorien
Mehr zu Monte Carlo Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!