matlab code for 3x3 matrix determinant

dears;
would u help me in writing matlab code used to calculate 3x3 matrix determinant or more?

댓글 수: 1

Vladimir Sovkov
Vladimir Sovkov 2020년 1월 11일
In which way the inbuilt function det does not suit you, that you want to write your own code?

댓글을 달려면 로그인하십시오.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 1월 11일
편집: KALYAN ACHARJYA 2020년 1월 11일

0 개 추천

det(matrix)
Here det

댓글 수: 3

bestoff jon
bestoff jon 2020년 1월 11일
sur; i think it is not the code requested rather function
KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 1월 11일
Are you looking for own code, not inbuilt (Which is not mentioned in the question)?
Maybe you just need to assign it to an output:
result = det(yourMatrix);
That is perfectly valid code, assuming you have a matrix called "yourMatrix". If you don't then simply use your variable's name instead.
If that is no good, say why not. Perhaps something like "My homework is to write a determinant-finding function, but I'd like you to do it so I can turn in your work as my own."

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2020년 1월 11일

댓글:

2020년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by