Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Matlab code for core point detection

Status
Not open for further replies.

fin_proj

Newbie level 2
Joined
Apr 8, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,291
matlab code core point

Hi friends.For my project i require Matlab code for core point detection.
Thanks in advance.
 

core point detection

Hi,
I wrote a Poincare index function on matlab to detect the core and delta but I am not sure if its correct.

Mohammed


function tres =poin(tt)

vv=[];
vv=[vv,flipdim(tt:),1),1)];
vv=[vv; tt(1,2:end)'];
vv=[vv; tt(2:end,size(tt,2))];
vv=[vv; flipdim(tt(size(tt,2),2:end-1)',1)];
res=zeros(size(vv));
for i=1:size(vv,1)-1
res(i)= vv(i+1)-vv(i);
end;
res(size(vv,1))=vv(1)-vv(size(vv,1));

for i=1:size(res,1)
if abs(res(i)) < pi/2
res(i) = res(i);
elseif res(i) < - pi/2
res(i) = pi + res(i);
else
res(i) = pi - res(i);
end;
end;


tres=sum(res);
 
core point detection for matlab

mohammed, does your code now work?
 

Re: core point detection

Hi,
I wrote a Poincare index function on matlab to detect the core and delta but I am not sure if its correct.

Mohammed


function tres =poin(tt)

vv=[];
vv=[vv,flipdim(tt:),1),1)];
vv=[vv; tt(1,2:end)'];
vv=[vv; tt(2:end,size(tt,2))];
vv=[vv; flipdim(tt(size(tt,2),2:end-1)',1)];
res=zeros(size(vv));
for i=1:size(vv,1)-1
res(i)= vv(i+1)-vv(i);
end;
res(size(vv,1))=vv(1)-vv(size(vv,1));

for i=1:size(res,1)
if abs(res(i)) < pi/2
res(i) = res(i);
elseif res(i) < - pi/2
res(i) = pi + res(i);
else
res(i) = pi - res(i);
end;
end;


tres=sum(res);




could you please explain your code??
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top