Raising a matrix to a set
이전 댓글 표시
I'm trying to make a simply function for
X(t) = (L^t)*X(0)
where t is a set [1,2,3,4,5,10,25,50,75]
L is a Leslie matrix [0 0 .42; .6 0 0; 0 .75 .95], and X(0) is my initial population is [42 0 95]'. can anyone tell how i can raise my matrix L to the set T for each value easily. like find L^t for each value of t in the set?
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!