Given a square matrix(A), find the determinant(d).
A = [1,3;4,5]
d = 1*5-4*3 = -7
Anyone else have the built-in function det(A) fail?
Yes, in Solution 1568377 the second and fourth test cases are failed. —DIV
Solution 1568380 reports the size of the errors. Given that the input arrays contain only integers, I consider that the Test Suite is fair — although it would be advisable for the Problem Statement to explicitly guarantee that all inputs and outputs must be integers.
Project Euler: Problem 1, Multiples of 3 and 5
Determine Whether an array is empty
Who has power to do everything in this world?
02 - Vector Variables 3
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office