Clear Filters
Clear Filters

How can I find the determinant with these specific specific functions

1 view (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
Dyuman Joshi
Dyuman Joshi on 3 May 2022
Since this a homework question, It will be better if you show us what have you done? In general as well as in relation as well as MATLAB. We can assist you further on the problems you are facing, but I doubt anyone here will solve your hw for you.
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)

Categories

Find more on Operating on Diagonal Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!