Help with arrays please

1 visualización (últimos 30 días)
Tracy
Tracy el 23 de Feb. de 2021
Editada: James Tursa el 23 de Feb. de 2021
Enter the values for the Square of Array A =
A=[-10 -9;
-8 6] ;

Respuestas (1)

James Tursa
James Tursa el 23 de Feb. de 2021
Editada: James Tursa el 23 de Feb. de 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

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by