• Nem Talált Eredményt

Risk analysis lab 2014. 09. 22. (Matlab introduction, part 2.)

N/A
N/A
Protected

Academic year: 2022

Ossza meg "Risk analysis lab 2014. 09. 22. (Matlab introduction, part 2.)"

Copied!
1
0
0

Teljes szövegt

(1)

Risk analysis lab 2014. 09. 22. (Matlab introduction, part 2.)

1. Create a Matlab function which calculates a histogram for a normal distribution (with an arbitrary μ and σ>0):

p = function getHistogram(x)

- x is a vector containing the ranges for each bin ( xi is the endpoint of the ith bin).

- p is a vector containing the probabilities of each specified bin range:

pi=P

xi−1Xxi

, x0=−∞ .

(Note that this vector can be considered as a histogram of a continuous p.d.f. or a description of a discrete p.d.f.)

- Hint: see normpdf or pdf.

- Try to use multiple type of distributions.

2. Plot the generated histogram for xi=i , i=1, ..., L (lab2.m).

3. Calculate PC=PXC (the complementary cumulative distribution function) for a given 1≤C≤L . (Place the function into ccdf.m.)

function P = ccdf(x, p, C)

4. Plot the tail distribution for C=1, ..., L (use the same figure as in 2.).

Hivatkozások

KAPCSOLÓDÓ DOKUMENTUMOK

Később azonban visszatért eredeti nézetéhez: 1895-ben kiadott A magyarság keletkezése (Vámbéry, 1895), illetve utolsó, már csak halála után megjelent, A magyar-

Mivel a nemzetközi szakirodalomban kimutatták, hogy ellentétes választói magatartás jellemzi a központi nagyvárost és az agglomeráció további településeit,

csak vizsga 519 Válogatott fejezetek vegy..

megbeszélve tanszék 273 Termelési gyakorlat MK

XAS measurements at K-edge of iron can give information about these structural features in Ca(II)Fe(III)-LDHs and Ca(II)Al(III)Fe(III)-layered triple hydroxides

The main goal of the experiments was to determine the structure of the Mn(II)-, Ni(II)- or Cu(II)-amino acid (L-cysteine, L-tyrosine and L-histidine) complexes intercalated in

HeLa, L929 and RAW 264.7 cells were incubated with FITC-labeled penetratin peptides (‘Dodeca = dodeca-penetratin; ‘F6,F14 = Phe 6,14 -penetratin) at a concentration of 5 µ M for

In a rare media interview tied to his election as chairman of the Democratic Party in the state-run journal Turkmenistan, reprinted in the August 7 issue of Neitral’nyi