How can I find the determinant with these specific specific functions

2 vues (au cours des 30 derniers jours)
Jonas Morgner
Jonas Morgner le 3 Mai 2022
Commenté : James Tursa le 3 Mai 2022
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 commentaires
Dyuman Joshi
Dyuman Joshi le 3 Mai 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 le 3 Mai 2022
What are the methods you are supposed to use for calculating the determinant? Do you know the algorithms for each of these methods?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by