Community Profile

photo

Saad Syed Iqbal Ahmed


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


I want to store the value of matrix in each iteration and add it to the stored matrix in the next iteration. At the end I would get the sum of all matrices in the loop.
Q=[ 171.1 3.622 0; 3.622 12.07 0 ; 0 0 4.5] s=input('Total number of Layers:') for n=1:s x = input ('Enter the value ...

8 years ago | 2 answers | 0

2

answers

Question


Hi, I want to know how to sum all the matrices in a loop at the end of it
I have a loop in which I define a matrix in each iteration. At the end of it I want to sum all of these matrices. Any help would...

8 years ago | 1 answer | 0

1

answer