How do I verify a statement and display the resulting matrix that consists of logical 1 or 0?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, here is the question: Write the statement which verifies whether D is a symmetric matrix. Display the resulting matrix matl, consisting of logical 1 or 0.
here is matD:
matD =
756.0160 458.6732 679.2602 208.3018
458.6732 286.0436 416.9705 136.3031
679.2602 416.9705 613.3440 193.3708
208.3018 136.3031 193.3708 70.0789
Thank you so much!
0 Kommentare
Antworten (2)
KSSV
am 27 Okt. 2017
Let A be your matrix...
iwant = isequal(A,A') ;
Read about isequal .
0 Kommentare
Siehe auch
Kategorien
Mehr zu Elementary Math finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!