Hei, jeg trenger en ordentlig definisjon på hva som er ei stokastisk matrise.
på wikipedia finner jeg dette:
A right stochastic matrix is a square matrix each of whose rows consists of nonnegative real numbers, with each row summing to 1.
A left stochastic matrix is a square matrix whose columns consist of nonnegative real numbers whose sum is 1.
A doubly stochastic matrix all entries are nonnegative and all rows and all columns sum to 1.
Kan jeg kalle følgende matrise stokastisk:
>> A= [0 0 1 1/2; 1/3 0 0 0; 1/3 1/2 0 1/2; 1/3 1/2 0 0]
A =
0 0 1.0000 0.5000
0.3333 0 0 0
0.3333 0.5000 0 0.5000
0.3333 0.5000 0 0
MATLAB godtar ikke at A er stokastisk.
Stokastisk matrise
Moderators: Vektormannen, espen180, Aleks855, Solar Plexsus, Gustav, Nebuchadnezzar, Janhaa