Squaring a matrix and how the results matters
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
What is the absolute right way to square a metrix: say, A = rand (3,1) and I want absolute value
- abs (A' *A)
- abs (A)^2
- abs ((A).^2)
- abs (A .*A)
- abs(A*A)
I know sounds sily. just try to be sure. Thanks.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Multidimensional Arrays 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!