mldivide, \
Resolver sistemas de ecuaciones lineales Ax = B para x
Sintaxis
Descripción
resuelve el sistema de ecuaciones lineales x = A\BA*x = B. Las matrices A y B deben tener el mismo número de filas. MATLAB® muestra un mensaje de advertencia si A se escala incorrectamente o es casi singular, pero realiza el cálculo de todas formas.
Si
Aes un escalar,A\Bequivale aA.\B.Si
Aes una matriz cuadrada denpornyBes una matriz connfilas,x = A\Bes una solución a la ecuaciónA*x = B, si existe.Si
Aes una matriz cuadrada dempornconm ~= n, yBes una matriz conmfilas,A\Bdevuelve una solución de mínimos cuadrados al sistema de ecuacionesA*x= B.xpodría no ser la solución de norma mínima.
Ejemplos
Argumentos de entrada
Argumentos de salida
Sugerencias
Los operadores
/y\se relacionan entre ellos con la ecuaciónB/A = (A'\B')'.Si
Aes una matriz cuadrada,A\Bes aproximadamente igual ainv(A)*B, pero MATLAB procesaA\Bde forma distinta y más sólida.Si el rango de
Aes menor que el número de columnas enA,x = A\Bno es necesariamente la solución con la norma mínima. Puede calcular la solución de mínimos cuadrados con la norma mínima utilizandox =olsqminnorm(A,B)x =.pinv(A)*BUtilice objetos
decompositionpara resolver de forma eficiente un sistema lineal varias veces con lados derechos distintos. Los objetosdecompositionson adecuados para resolver problemas que requieren soluciones que se repitan, puesto que no es necesario realizar varias veces la descomposición de la matriz de coeficientes.
Algoritmos
Referencias
[1] Gilbert, John R., and Tim Peierls. “Sparse Partial Pivoting in Time Proportional to Arithmetic Operations.” SIAM Journal on Scientific and Statistical Computing 9, no. 5 (September 1988): 862–874. https://doi.org/10.1137/0909058.
[2] Anderson, E., ed. LAPACK Users’ Guide. 3rd ed. Software, Environments, Tools. Philadelphia: Society for Industrial and Applied Mathematics, 1999. https://doi.org/10.1137/1.9780898719604.
[3] Davis, Timothy A. "Algorithm 832: UMFPACK V4.3 – an unsymmetric-pattern multifrontal method." ACM Transactions on Mathematical Software 30, no. 2 (June 2004): 196–199. https://doi.org/10.1145/992200.992206.
[4] Duff, Iain S. “MA57---a Code for the Solution of Sparse Symmetric Definite and Indefinite Systems.” ACM Transactions on Mathematical Software 30, no. 2 (June 2004): 118–144. https://doi.org/10.1145/992200.992202.
[5] Davis, Timothy A., John R. Gilbert, Stefan I. Larimore, and Esmond G. Ng. “Algorithm 836: COLAMD, a Column Approximate Minimum Degree Ordering Algorithm.” ACM Transactions on Mathematical Software 30, no. 3 (September 2004): 377–380. https://doi.org/10.1145/1024074.1024080.
[6] Amestoy, Patrick R., Timothy A. Davis, and Iain S. Duff. “Algorithm 837: AMD, an Approximate Minimum Degree Ordering Algorithm.” ACM Transactions on Mathematical Software 30, no. 3 (September 2004): 381–388. https://doi.org/10.1145/1024074.1024081.
[7] Chen, Yanqing, Timothy A. Davis, William W. Hager, and Sivasankaran Rajamanickam. “Algorithm 887: CHOLMOD, Supernodal Sparse Cholesky Factorization and Update/Downdate.” ACM Transactions on Mathematical Software 35, no. 3 (October 2008): 1–14. https://doi.org/10.1145/1391989.1391995.
[8] Davis, Timothy A. “Algorithm 915, SuiteSparseQR: Multifrontal Multithreaded Rank-Revealing Sparse QR Factorization.” ACM Transactions on Mathematical Software 38, no. 1 (November 2011): 1–22. https://doi.org/10.1145/2049662.2049670.

