www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/CalculateDeterminantofMatrixExample.m
%% Calculate Determinant of Matrix %% % Create a 3-by-3 square matrix, |A|. A = [1 -2 4; -5 2 0; 1 0 3] %% % Calculate the determinant of |A|. d = det(A)