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.

1 Comment

We don't know the text of your assignment - so we cannot tell you what's wrong.

Sign in to comment.

 Accepted Answer

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.

More Answers (0)

Asked:

on 14 Mar 2025

Commented:

on 14 Mar 2025

Community Treasure Hunt

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

Start Hunting!