Help with arrays please
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Enter the values for the Square of Array A =
A=[-10 -9;
-8 6] ;
0 Commenti
Risposte (1)
James Tursa
il 23 Feb 2021
Modificato: James Tursa
il 23 Feb 2021
I'm not sure what the question is. Just enter the text as shown to create the 2x2 matrix A:
A = [-10 -9;
-8 6];
For the square, you can use either multiply A by itself or do an element-wise .^2 operation depending on what is meant by "square". See
0 Commenti
Vedere anche
Categorie
Scopri di più su Matrices and 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!