How can I find the determinant with these specific specific functions

2 views (last 30 days)
I have been trying to solve this exercise for hours now and I dont know what to do
Exercise:
Create a function (m file) which can perform this operation in 3x3 matrices passed as an input parameter. The function must include:
  • two input parameters: 1) the matrix and 2) a variable to select the way the determinat is calculated
  • A return parameter: the result of this operation
Hint: To implement the previous steps, if-else blocks may be helpful.
Can someone help me with this?
  2 Comments
James Tursa
James Tursa on 3 May 2022
What are the methods you are supposed to use for calculating the determinant? Do you know the algorithms for each of these methods?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by