Finding zero values of a matrix for different parameters

Hello, I have a big matrix (see attachment) that is a result of calculation for different K (row) and different Ma (column). How can I find the Ma corresponding with zero values of this matrix for different K? I really need to know how I can use interpolation function in matlab or is there any function that can give me directly the Ma numbers corresponding to zero values of this matrix for different K?
Thank you very much for your help in advance.

 Accepted Answer

You want to know what combinations of K and Ma give you zero?
help contourc
Yes, I know that a contour plot does not seem to be what you want. But it is.
You are looking for the ZERO contour of that relationship.
C = countourc(Matrix,[0 0]);
That is what a contour is. A level set, the locus of values in your parameter space that yield a fixed value of the function. You can plot it using contour. Or just extract the polygonal contour itself using contourc.

1 Comment

Thank you for your response. Actually, I used this method, but for a very big matrix (500 rows and 700 columns) I can’t get correct result. Do you know another method that can help me in this way? Thanks.

Sign in to comment.

More Answers (0)

Categories

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!