How do i define Ak where Ak depends on function after it

3 views (last 30 days)
for i=1
Ai=A % input matrix A
for k=2:n-1
For i=k-1:n-1
Ak= Ei(2:n,2:n)
Ei= I(n-i+1,n-i+1)+Mi
Mi= Pi\Ui
Pi=Li+ Di
Ui= triu(Ai,1)
Li=tril(Ai,-1)
Di=diag(diag(Ai))

Answers (0)

Categories

Find more on Shifting and Sorting Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!