Triangle Mesh with a n *m matrix

조회 수: 3 (최근 30일)
Saurabh Sakpal
Saurabh Sakpal 2016년 3월 23일
답변: Saurabh Sakpal 2016년 3월 23일
Hi, this isnt a very difficult question but I have no experience with triangle mesh (dont even know what it means). But my teacher said it should be done this way.
Ok heres the problem say I have a matrix called B =
[0.1 0.2 0.3 0.4; 0.2 0.3 0.2 0.4; blah blah blah]
say its a N * M 2d matrix, how do i display it in a triangle mesh.
I used the program mesh2d but you have to enter the node manually, wat if my matrix is 100*100 i am not going to enter all the values in that manually. Can someone help.
Thanks

답변 (2개)

Charles Dunn
Charles Dunn 2016년 3월 23일
I googled "triangle mesh matlab" and this is the top hit: http://www.mathworks.com/help/matlab/ref/trimesh.html

Saurabh Sakpal
Saurabh Sakpal 2016년 3월 23일
cheers mate

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by