Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi, is there an easy way to find the non zero minimum in a matrix?
Or is a loop the only way to do it?
This is what i have at the moment.
Oliver Guest wrote:
Hi, is there an easy way to find the non zero minimum in a matrix?
Or is a loop the only way to do it?
This is what i have at the moment.
Try this ..
Stuart
Thanks for the suggestions guys. I realized that I needed to have a tolerance in there as some of my values were very close to zero. So I went for this:
Hi Oliver,
Is b guaranteed to be non zero or an in-tolerance X to never be negative?
Stuart
Hi Stuart,
Yes for this particular task it wont ever be negative or exactly zero.
Oliver