Cube Surface plot from an experimental design
3 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!