tri2grid anyone??

Hi All !
Does anyone know how to define the u function in to use in tri2grid function?
this is the formula from the product help of matlab:
uxy=tri2grid(p,t,u,x,y)
it says.. computes the function values uxy over the grid defined by the vectors x and y, from the function u with values on the triangular mesh defined by p and t.
so the question is: how can we define the function u ???
Sincerely,
Mei

답변 (1개)

Andrew Newell
Andrew Newell 2011년 3월 7일

0 개 추천

Although u is called a function, it's really a vector representing the values of the function on the mesh. tri2grid is intended as a postprocessor for outputs from solvers like parabolic. Try typing
type pdedemo5
to see an example of tri2grid in action.

질문:

2011년 3월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by