Guest User

Untitled

a guest
Jan 14th, 2020
88
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function [v0, V] = determine_classification_line_params (num_el, X1, X2, Gamma)
  2.   Z = [-ones(1,num_el) ones(1,num_el); -X1 X2];
  3.   W = (Z*Z')^(-1)*Z*Gamma;
  4.   v0 = W(1);
  5.   V = [W(2);W(3)];
  6. endfunction
RAW Paste Data