Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- load wino.txt
- P = wino(:, 2:14); %dane wejsciowe
- T = wino(:, 1); %dane wyjsciowe
- % normalizacja danych
- maxP=max(P);
- minP=min(P);
- Pn=zeros(size(P));
- for i=1:length(maxP),
- Pn(:,i) = (1-(-1))*(P(:,i)-minP(i))/(maxP(i)-minP(i)) + (-1);
- % (ymax-ymin)*(x-xmin)/(xmax-xmin) + ymin;
- end
- Pn = Pn';
- T = T';
- T = T + 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement