How to solve Ax=b where A is a rectangular matrix for higher order in matlab
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Boni_Pl
 el 16 de Nov. de 2020
  
    
    
    
    
    Editada: Bruno Luong
      
      
 el 16 de Nov. de 2020
            How to solve Ax=b
Where 
 and b=
 and b=
0 comentarios
Respuesta aceptada
  Matt J
      
      
 el 16 de Nov. de 2020
        
      Editada: Matt J
      
      
 el 16 de Nov. de 2020
  
      x=A\b
3 comentarios
  Matt J
      
      
 el 16 de Nov. de 2020
				A\b will give an exact solution if an exact solution exists. It doesn't matter if A and b are complex.
  Bruno Luong
      
      
 el 16 de Nov. de 2020
				
      Editada: Bruno Luong
      
      
 el 16 de Nov. de 2020
  
			In any case A\b provides x "a" least-square solution, i.e., it minimizes
    norm(A*x-b).
If solution exists then the minimum is 0, meaning A*x matches exactly b (up to numerical precision error).
Más respuestas (0)
Ver también
Categorías
				Más información sobre Linear Algebra en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!