Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

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

$
0
0
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');

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>