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

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.

 采纳的回答

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 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Testing Frameworks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by