Help with arrays please
2 ビュー (過去 30 日間)
古いコメントを表示
Enter the values for the Square of Array A =
A=[-10 -9;
-8 6] ;
0 件のコメント
回答 (1 件)
James Tursa
2021 年 2 月 23 日
編集済み: James Tursa
2021 年 2 月 23 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!