Cube Surface plot from an experimental design

3 次查看(过去 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];

回答(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