Interplorating on Cartesian coord( triplet points)

조회 수: 9 (최근 30일)
Debbie
Debbie 2013년 1월 12일
>>X= [1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5] <-enter
>>Y=[1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4
5 5 5 5 5] <-enter
>>z =[152 89 100 100 100
103 0 100 100 100
89 13 100 100 100
115 100 187 200 111
100 85 111 97 48] <-enter
scatter3(X(:), Y(:), z(:))
But the result wants to be connected all point.. Looking fir a solution ato show an Interplorating surface on the of view? :)

채택된 답변

Jan
Jan 2013년 1월 12일
surface(X, Y, z, 'facecolor', 'r')
view(3)
  댓글 수: 1
Debbie
Debbie 2013년 1월 12일
Jan, it's a quick thought. Will run your solution soon, just right now I only can use mobile matlab.. Some reasons.. It doesn't work well. Will get back to you how it goes with your method :)

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2013년 1월 12일
  댓글 수: 1
Debbie
Debbie 2013년 1월 13일
you provide such a dedicated answer! NOw I understand what that means of interpolating in matlab. Thanks.

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by