I keep getting "Variable Ans3 has an incorrect value." for my code how can i fix this?

조회 수: 2 (최근 30일)
I have the rest of the code figured out but i keep getting this error code and everything i have tried to fix it hasnt worked, any help is appreciated. 6 out of 7 tests passed.

채택된 답변

Voss
Voss 2025년 3월 14일
I believe that "AI" refers to the product of A and the (appropriately sized) identity matrix I. Similarly for "CI".
See eye for generating an identity matrix.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by