Cube Surface plot from an experimental design

2 visualizaciones (últimos 30 días)
Rafael Freire
Rafael Freire el 26 de Nov. de 2018
Editada: Rafael Freire el 26 de Nov. de 2018
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];

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by