Guest User

Untitled

a guest
Jul 23rd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. hold on;
  2. for x = 1:600;
  3. if labels(x) == 1;
  4. plot (samples(x,1), samples(x,2), 'r*');
  5.  
  6. elseif labels(x) == 2;
  7. plot (samples(x,1), samples(x,2), 'g*');
  8.  
  9. else labels(x) == 3;
  10. plot (samples(x,1), samples(x,2), 'b*');
  11. end;
  12. end;
  13.  
  14. m1 = [0.496, 0.164];
  15. m2 = [0.395, 0.201];
  16. m3 = [0.306, 0.253];
Add Comment
Please, Sign In to add comment