picking those matrices whose determinant is greater than 0
1 view (last 30 days)
Show older comments
tanveer haq
on 19 Feb 2019
Commented: tanveer haq
on 20 Feb 2019
I have many matrices and I need to pick only those matrices whose determinant is greater than zero. For instance, consider the simple code which generates square matrices and evaluate its determinant. How can i display only those matrices whose determiant is greater than zero.
for i=1:5
a=rand(i)
b=det(a)
end
Any help will be appreciated.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!