Cube Surface plot from an experimental design

조회 수: 2 (최근 30일)
Rafael Freire
Rafael Freire 2018년 11월 26일
편집: Rafael Freire 2018년 11월 26일
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];

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by