- added mask

This commit is contained in:
2023-06-11 07:48:27 +02:00
parent 154712edda
commit fd97fc7507
3 changed files with 38 additions and 26 deletions
+4 -5
View File
@@ -22,21 +22,20 @@
## Author: Jens <jens@orion>
## Created: 2023-06-10
function eval_vecfit ()
P0 = [-1 -1];
P0 = [1 1];
P1 = [2 4];
P2 = [4 2];
Pp = [P0; P1; P2];
T = [15 12];
A = [0 0];
A = [15 20];
Dn = 1;
Pa = [0 0 0]';
for i=1:50,
[A1, Pa, Dn] = vecfit(Pp,T,A,Pa,0.1.*(1-exp(-Dn)))
[A1, Pa, Dn] = vecfit(Pp,[],T,A,Pa,0.1.*(1-exp(-Dn)))
end
endfunction