I want to add up all vectors i am getting by 'for' operation in one matrix. b =[2,3,5]'; for r = -1:0.1:1 A =[5,(2*r),r ; 3,6 ,(2*r-1); 2,(r-1),3*r ]; x = b\A; matricx1 = end I need all vectors of x for all values of r.in one matrix say 'matricx1' Professional Interests: calculations
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.