Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Determinant of a second order tensor
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
A second order tensor S its inverse is S^-1. Using matlab randi function to gen a square (NxN) matrix S with components between 0 to 9 and N=3. Calculate the determinant by randomly picking one of the ith row of the matrix. Using a loop to multiply each jth element of the selected ith row by its minor i.e, the determinant of the (N-1xN-1) matrix obtained deleting the ith row and the jth column from matrix S(i,j).If i+j is odd multiply each product by -1 use matlab function mod(x,y) with x=i+y and y=2 to determine the sign of the product.Sum all product.
Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!