Problem 58538. 2行2列の行列の行列式を求めてみよう
ある2行2列の行列の入力に対して、行列式を出力してください。
例えば、入力が(1,2; 3,4)のとき、出力は1*4-3*2で-2となります。
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers23
Suggested Problems
-
Increment a number, given its digits
642 Solvers
-
Back to basics 21 - Matrix replicating
1486 Solvers
-
295 Solvers
-
Getting the indices from a vector
9217 Solvers
-
Calculate the area of a triangle between three points
2835 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!