I have a matrix 6*2 as following (UNDER THE PLOT), after plotting them i get what you see in the figure. so how can i extract data points in new matrix with fixed increment inYaxis(for example of value 0.1 increment )without change Zvalue for curves
조회 수: 1 (최근 30일)
이전 댓글 표시
X=[0 1 2;1 4 2;2 9 2;3 13 2;4 18 2;5 15 2;5 15 4;4 18 4;3 13 4;2 9 4;1 4 4;0 1 4]
댓글 수: 0
채택된 답변
Jordan Ross
2017년 1월 9일
Hello Faez,
From your description it sounds like you would like to interpolate the value of the line at a point that is not defined in your original matrix. In order to do this you could make use of the "interp2" function. For examples and details on how to use the function refer to the documentation: http://www.mathworks.com/help/matlab/ref/interp2.html
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!