Help with arrays please
조회 수: 1 (최근 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에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!