3D PLOT n*n full factorial plan of DOE Design of Experiment results

5 visualizaciones (últimos 30 días)
francesco
francesco el 9 de Nov. de 2013
Editada: francesco el 9 de Nov. de 2013
Hi everyboy,
I am writing the script to plot the comparison of experiment DOE in a full factorial plan, it may be useful fr someone, handle the rotation just try to run:
%
%
%
% | 0.1 0.2 0.3 0.4
% ----------------------
% 1 | 10 11 12 13
% 2 | 11 12 13 14
% 3 | 12 13 14 15
% 4 | 13 14 15 16
% Y = [0.1 0.2 0.3 0.4];
% X = [1 2 3 4];
% Z = [10 11 12 13; 11 12 13 14; 12 13 14 15; 13 14 15 16];
%
%
figure(1)
hold off
Y=linspace(1,2,3);
X=linspace(1,2,3);
Z=rand(3,3);
m=0,3*max(max(max(Z)));
%
hold on a=mesh(X,Y,Z,'LineWidth',3,'EdgeColor','green') hidden off set(a,'marker','s','markersize',8,'markerfacecolor','green','edgecolor','green')
b=mesh(X,Y,Z+1,'LineWidth',3,'EdgeColor','yellow') hidden off set(b,'marker','o','markersize',8,'markerfacecolor','yellow','edgecolor','yellow')
c=mesh(X,Y,Z+2,'LineWidth',3,'EdgeColor','red') hidden off set(c,'marker','v','markersize',8,'markerfacecolor','red','edgecolor','red') grid on
%
%
%
%
the overlay of the three mesh is to sum the three experiments for a third factor I was trying to use a single n*n matri, could someone suggest me a solution for a fractional factorial plan? n*m DOE?
I am trying to use too ft(fz,ap) for(vc =300) ft(fz,ap) for(vc =600) ft(fz,ap) for(vc =900)
all the three graphs overlapped.
I am trying as:
F = TriScatteredInterp(ap,fz,ft);
ti = 0:.001:0.3;
[qx,qy] = meshgrid(ti,ti);
qz = F(qx,qy);
mesh(qx,qy,qz);
hold on;
plot3(ap,fz,ft,'o');
but no chance

Respuestas (0)

Categorías

Más información sobre Directed Graphs en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by