Community Profile

photo

Prabaharan Saththiyamoorthy


Active since 2015

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


The following code works perfectly, when I omit while loop. However I get infinite loop when 'while' loop included. My goal is obtaining 4x1 matrix for GF1, whose values shall be within 5% of number 1
T=[0 20 30 15; 20 0 10 40; 30 10 0 35; 15 40 35 0]; G = [130 140 225 90]'; GF1= G./sum(T,2); while max...

8 years ago | 0 answers | 0

0

answers