g0 has to be initialized

time-shift
Ferhat 2012-02-17 10:41:42 +01:00
parent 441e58cd01
commit 2234cdc5bd
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ g=zeros(n,1);
badg=0;
goog=1;
scale=1;
g0 = 0;
for i=1:n
if size(x,1)>size(x,2)
tvecv=tvec(i,:);
@ -57,4 +58,4 @@ for i=1:n
g(i) = 0;
badg = 1;
end
end
end