Squaring a matrix and how the results matters
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Multidimensional Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!