Generate probabilites rows in a game

조회 수: 2 (최근 30일)
steve Brian
steve Brian 2020년 4월 11일
답변: darova 2020년 4월 11일
Hi all. Let's say I have a pyramid, with different exits. In that pyramid there is a mouse that must reach the cheese. Different exits are closed and only a few are correct. I have to form a matrix formed by the probabilities that the mouse has to reach the cheese.
I'm at the beginning and I don't know how to form those equations and then take their coefficient
We can form a linear equation p (i) and the probability associated with the neighboring intersections i. The mouse has a 1/4 probability to reach the top right and to lose or the top left to lose, but has 1/4 to take it right down or 1 / 4 left down and get to the food
I need to create matrix A and b, and my function is like function = generate(rows), where rows > 2
A little help, please

답변 (1개)

darova
darova 2020년 4월 11일
Here is start

카테고리

Help CenterFile Exchange에서 Strategy & Logic에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by