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.
Back to basics 25 - Valid variable names
Who is the smartest MATLAB programmer?
Kelvin to Celsius
Calculate square and cube of number
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