Cube Surface plot from an experimental design
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
Please could you help me in the following problem?
I need to create a 3d cube response surface from a experimental design where I have 3 variables in 3 different levels.
The matrix (mat) is composed by 4 columns where columns 1-3 are variables and column 4 is the response. The rows represents the combination between the levels of the variables and their respective response.
How can I create a plot similar to those ones in the figure below?
Thank you very much
Best Regards
Rafael
mat=[-1 -1 0 4.1633
1 -1 0 5.8555
-1 1 0 11.7614
1 1 0 18.3782
-1 0 -1 5.2710
1 0 -1 6.3753
-1 0 1 15.1907
1 0 1 16.1828
0 -1 -1 2.9883
0 1 -1 6.0488
0 -1 1 6.6026
0 1 1 16.5518
0 0 0 14.5533];
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196958/image.png)
댓글 수: 0
답변 (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!