21.01.2015 Views

COMSOL Multiphysics™

COMSOL Multiphysics™

COMSOL Multiphysics™

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

flmesh2spline<br />

figure<br />

meshplot(msh)<br />

c = flmesh2spline(msh,'keepfrac',0.3)<br />

figure<br />

geomplot(c)<br />

Create spline curves from contour data:<br />

[x,y] = meshgrid(linspace(-3,3,50));<br />

z = (x.^2+y.^2).*exp(-x.^2-y.^2)+cos(y)+sin(x);<br />

figure<br />

c = contour(z);<br />

m = flcontour2mesh(c);<br />

figure<br />

meshplot(m)<br />

g = flmesh2spline(m);<br />

figure<br />

geomplot(g)<br />

See Also<br />

flcontour2mesh, flim2curve, geomspline<br />

187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!