Use of the Surf function and examples in Matlab
조회 수: 4 (최근 30일)
이전 댓글 표시
Does anyone can give me some good and detailed example of using the Surf function in Matlab? I want to plot a 3D view of the data. Mathworks did not provide detailed examples on how to plot the surfaces using this function. Thanks.
댓글 수: 0
답변 (3개)
Star Strider
2016년 2월 6일
I found the MATLAB documentation quite thorough.
What do you want to do that the documentation does not describe? Please go into some detail as to what you want to do. Including your data (preferably as a .mat file) would help.
댓글 수: 2
Star Strider
2016년 2월 6일
My pleasure.
In order to understand what you need to do, I would have to see your data. Columns of data would not work for surf unless your data turned out to be gridded already, or if not, interpolated to a form surf could use.
If you are having problems reading your data into MATLAB, upload it here so I can look at it and see how best to import it.
To upload your file here, click the ‘paperclip’ icon at the top of the Comment window, then complete both the ‘Choose file’ and ‘Attach file’ steps.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!