Community Profile

photo

daniel danish


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


how to take every row in matrix?
i have matrix 1000x1000. i want collect data at row 2 until 4 , 6 until 8 , 8 until 10 until end

2 years ago | 2 answers | 0

2

answers

Question


how to keep updating the value of average in every iteration.
a=1; b=1;c=1; z=0;n=1; x=0; zzz(n,:)=[z a b c ]; n=n+1; for i=1:6 z=z+1; a=2+a;b=3+a;c=4+a; zzz(n,:)=[z a b c ]; n=n+1;...

2 years ago | 1 answer | 0

1

answer