3D plotting of ANFIS training data
1 visualización (últimos 30 días)
farheen asdf el 10 de Sept. de 2015
Hi. I have a 2 inputs each of size [32 16] and 1 output of size [32 16] i want to plot this data in 3D plot. Below is my code. x and y are the inputs while tt1 is the output. I have created a dataset for the system as I want to train it using ANFIS but before training i want to plot the training data for ANFIS.
[tt1,tt2] = meshgrid(theta1,theta2);
x = l1*cos(tt1)+l2*cos(tt1+tt2);
y = l1*sin(tt1)+l2*sin(tt1+tt2);
data1 = [x(:) y(:) tt1(:)];