How can I find the determinant with these specific specific functions

1 次查看(过去 30 天)
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 个评论
Dyuman Joshi
Dyuman Joshi 2022-5-3
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 2022-5-3
What are the methods you are supposed to use for calculating the determinant? Do you know the algorithms for each of these methods?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by