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.
 

sayim133

Newbie level 3
Joined
Mar 25, 2008
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,308
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);
 

sanmee19

Newbie level 2
Joined
Jun 5, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
core point detection for matlab

mohammed, does your code now work?
 

Akshay Uppal

Newbie level 1
Joined
Dec 22, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
4
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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top