Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

matlab fractional fft

Status
Not open for further replies.

rntsay

Member level 4
Joined
Mar 29, 2002
Messages
73
Helped
14
Reputation
28
Reaction score
11
Trophy points
1,288
Activity points
484
little matlab demo for fractional fft...enjoy

N=64;
t=2*pi/N*[-N/2:N/2];c=1;
for k=-N/2:N/2 B(c,:)=1/sqrt(N+1)*exp(-j*k*t);c=c+1;end;
f=exp(-t.^2);
f=f-min(f);
f=f';
figure(1);clf;set(gcf,'Renderer','zbuffer');
for n=0:0.1:2.0
Bn=B^n;fn=abs(Bn*f);plot(fn,'b');hold on;plot(f,'r--');hold off;
text(10,1.7,sprintf('%0.2f',n));
grid on;axis([1 N+1 0 2]);axis square;
drawnow;
end;

creatively acquired from :

http://www.cs.dartmouth.edu/~farid/research/fracderiv.html
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top