How to get griddata at a specific point ?
2 views (last 30 days)
Show older comments
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
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?
Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!