Asked by LB
on 2 Oct 2019

I have an array x of size 1x56 An array y of size 1x20 And an array z of size (20x56)

I want to interpolate to find ‘z’ for a specific value of x but multiple y.

I am trying to plot Interp2(x,y,z,1400,y)

Z =f(x,y,z)

But it doesn’t seem to be working right. Anyone have any ideas?

Opportunities for recent engineering grads.

Apply Today
## 10 Comments

## Matt J (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752051

## LB (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752055

## Matt J (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752056

## LB (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752067

## Walter Roberson (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752198

## LB (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752201

## Walter Roberson (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752213

## LB (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752219

## Walter Roberson (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752222

## LB (view profile)

## Direct link to this comment

https://de.mathworks.com/matlabcentral/answers/483248-how-to-interpolate-z-for-one-value-of-x-but-multiple-values-of-y#comment_752246

Sign in to comment.