Finding row entries that are not equal?
30 views (last 30 days)
Show older comments
Andrew Miller
on 4 Jun 2020
Commented: Andrew Miller
on 4 Jun 2020
Hello everyone,
I have a matrix and I would like to find all of the rows such that the entry in the first column does not match the entry of the second column.
Background: I am running some finite element code. I am finding all entries of the stiffness matrix that are positive, but in particular I want to find the stiffness matrix off-diagonal entries that are positive.
Thank you in advanced!
Andrew
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!