How to get griddata at a specific point ?

2 views (last 30 days)
Prayag
Prayag on 9 Aug 2014
Commented: Geoff Hayes on 9 Aug 2014
ex: I have
x=0:0.3:1;
y=0:0.3:1;
meshgrid [x,y] ;
surf(x,y,u);
but i need u(0.567,0.111)
  1 Comment
Geoff Hayes
Geoff Hayes on 9 Aug 2014
Prayag - in your above code example, you are trying to use u before it has been defined. As well, the input to meshgrid will likely generate an error too. What is your code trying to accomplish? How is u related to x and y?

Sign in to comment.

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!