Commit aa352039 authored by ncarmignani's avatar ncarmignani
Browse files

removed some unused code

parent db137227
......@@ -10,14 +10,14 @@ tic
siz=size(Xsnif);
NBPM=siz(1); NSTE=size(XCor,1);
MresH=zeros(NBPM,NSTE);
MresV=zeros(NBPM,NSTE);
% MresV=zeros(NBPM,NSTE);
MresVH=zeros(NBPM,NSTE);
MresHI=zeros(NBPM,NSTE);
MresVI=zeros(NBPM,NSTE);
% MresHI=zeros(NBPM,NSTE);
% MresVI=zeros(NBPM,NSTE);
MresHQ=zeros(NBPM,NSTE);
MresVQ=zeros(NBPM,NSTE);
MresHVQ=zeros(NBPM,NSTE);
% MresHQ=zeros(NBPM,NSTE);
% MresVQ=zeros(NBPM,NSTE);
% MresHVQ=zeros(NBPM,NSTE);
%for i=1:NSTE
% CorNSTEXstuf(i,1:siz(2))=XCor(i,1:siz(2))-mean(XCor(i,:));
......@@ -30,10 +30,10 @@ disp(['Xamp=' num2str(Xamp) ...
[ CXI,CXQ,firstX,lastX,lengthX] = Corfast_fda2(CorNSTEXstuf,Xamp,Xamp/20);
Xres=zeros(1,siz(2));
Zres=zeros(1,siz(2));
CX=zeros(1,siz(2));
CZ=zeros(1,siz(2));
% Xres=zeros(1,siz(2));
% Zres=zeros(1,siz(2));
% CX=zeros(1,siz(2));
% CZ=zeros(1,siz(2));
C=CXI./repmat(sum(abs(CXI),2),1,siz(2));
A=max(abs(CXI),[],2);
......@@ -71,8 +71,8 @@ MresVQ=Zsnif*CQ'./repmat(AQ',NBPM,1);
stdHI=std(MresHI);
stdHQ=std(MresHQ);
stdVI=std(MresVI);
stdVQ=std(MresVQ);
% stdVI=std(MresVI);
% stdVQ=std(MresVQ);
%calibration factor OK for.1A=32768
G=1e9*.2/pi*2*.5/32768;
......
......@@ -11,15 +11,15 @@ set_path
[XCor, ZCor] =getFDAreaderXZCor(n_and_dateZ);
siz=size(Xsnif);
NBPM=siz(1); NSTE=size(XCor,1);
MresH=zeros(NBPM,NSTE);
% MresH=zeros(NBPM,NSTE);
MresV=zeros(NBPM,NSTE);
MresHV=zeros(NBPM,NSTE);
MresHI=zeros(NBPM,NSTE);
MresVI=zeros(NBPM,NSTE);
% MresHI=zeros(NBPM,NSTE);
% MresVI=zeros(NBPM,NSTE);
MresHQ=zeros(NBPM,NSTE);
MresVQ=zeros(NBPM,NSTE);
MresHVQ=zeros(NBPM,NSTE);
% MresHQ=zeros(NBPM,NSTE);
% MresVQ=zeros(NBPM,NSTE);
% MresHVQ=zeros(NBPM,NSTE);
% for i=1:NSTE
% CorNSTEZstuf(i,1:siz(2))=ZCor(i,1:siz(2))-mean(ZCor(i,:));
......@@ -32,10 +32,10 @@ disp(['Zamp=' num2str(Zamp) ...
[ CZI,CZQ,firstZ,lastZ,lengthZ] = Corfast_fda2(CorNSTEZstuf,Zamp,Zamp/10);
Xres=zeros(1,siz(2));
Zres=zeros(1,siz(2));
CX=zeros(1,siz(2));
CZ=zeros(1,siz(2));
% Xres=zeros(1,siz(2));
% Zres=zeros(1,siz(2));
% CX=zeros(1,siz(2));
% CZ=zeros(1,siz(2));
C=CZI./repmat(sum(abs(CZI),2),1,siz(2));
A=max(abs(CZI),[],2);
......@@ -80,8 +80,8 @@ MresVQ=Zsnif*CQ'./repmat(AQ',NBPM,1);
%
% end
stdHI=std(MresHI);
stdHQ=std(MresHQ);
% stdHI=std(MresHI);
% stdHQ=std(MresHQ);
stdVI=std(MresVI);
stdVQ=std(MresVQ);
%calibration factor OK for.1A=32768
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment