0 Replies - 1572 Views - Last Post: 26 January 2013 - 04:57 AM Rate Topic: -----

#1 m.saikanthreddy@gmail.com  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 5
  • Joined: 19-December 12

Error using ==> plot3 Conversion to double from cell is not possib

Posted 26 January 2013 - 04:57 AM

Matlab

hi
im trying to call competitive layer on kdd data set ,but im getting this :??? Error using ==> plot3 Conversion to double from cell is not possible. plot3(p(1,:),p(2,:),p(3,:),'+r');
hope some1 can solve for me...

clear all;

p=importdata('kdd train.txt');//this is the data base im calling

tar=[]; for i=0:size(p); tar=[tar;0 1]; end

net=newc(tar,5,0.1);

w = net.IW{1};

plot3(p(1,:),p(2,:),p(3,:),'+r');

grid on; hold on;

circles = plot3(w(:,1),w(:,2),w(:,3),'ob');

net.trainParam.epochs = 10;

net = train(net,p);

w = net.IW{1};

delete(circles);

plot3(w(:,1),w(:,2),w(:,3),'ob');

Is This A Good Question/Topic? 0
  • +

Page 1 of 1