Help with arrays please

Réponses (1)

James Tursa
James Tursa le 23 Fév 2021
Modifié(e) : James Tursa le 23 Fév 2021

0 votes

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

Catégories

Tags

Question posée :

le 23 Fév 2021

Modifié(e) :

le 23 Fév 2021

Community Treasure Hunt

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

Start Hunting!

Translated by