Sum of different Matrix elements
古いコメントを表示
I've tried to look around to see if there were answers to my question, but I'm not sure how to word it. Hopefully you guys understand what I mean.
I'm trying to make a Gauss-Seidel iterative algorithm. My problem is when trying to find x sub i to the (k+1):

I'm not sure how to to take individual elements of a vector and compute them in a for loop given we have matrices "a" and "b".
3 件のコメント
Sean Murphy
2013 年 2 月 13 日
ChristianW
2013 年 2 月 13 日
Link not working and bad explained. What does this mean: trying to find x sub i to the (k+1)?
Here is the sum of Matrix element 1 and 2.
M = [1 3; 2 4];
M(1)+M(2)
Sean Murphy
2013 年 2 月 13 日
回答 (1 件)
Matt J
2017 年 10 月 12 日
I'm not sure how to to take individual elements of a vector
For example,
a(i,1:n-1)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!