Hello,
I have two separate codes.
Use of for loops for following codes making them too heavy , so they are taking too long for bigger size matrix's. can anyone please help me to write both in vectorized form.
Thanks
CODE 1—
Ft= zeros(n,n); for row=1:na for col =1:nv tn(row,col)= st(row,col)*y(row,col);if y(row,col)>0 tn(row,col) = tn(row,col)+ff(row,col); end endend
Best Answer