Linear Combination of 3 matrices.
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Porgs
 am 15 Apr. 2018
  
    
    
    
    
    Kommentiert: Walter Roberson
      
      
 am 15 Apr. 2018
            How do you compute the linear combination of 3 (1x3) matrices.
0 Kommentare
Akzeptierte Antwort
  Walter Roberson
      
      
 am 15 Apr. 2018
        There are an infinite number of linear combinations of matrices: you cannot compute them all.
Is it possible that the question you are dealing with has to do with finding the point that is at the intersection of linear combinations of three vectors?
1 Kommentar
  Walter Roberson
      
      
 am 15 Apr. 2018
				Let the vectors be v1, v2, v3, and let the target matrix be b. Then
 A = [v1(:), v2(:), v3(:)];
 x = A\b
Then b is a linear combination of the vectors if and only if x either only has one column or else x(:,2:end)./x(:,1) is the same (to within round-off) for all entries in any given column. (But do be careful about dividing by 0)
Weitere Antworten (1)
Siehe auch
Kategorien
				Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

