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.

[SOLVED] Plot normalized phase velocity Vp/c Taflove

Status
Not open for further replies.

belghazdis

Newbie level 1
Joined
Dec 17, 2017
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
6
Hi.
please i need to plot the normalized phase velocity Vp/c with wave propagation angle alpha by newton method in matlab (numerical dispersion allen taflove susan).

Code:
lunda0=1;
Dx=lunda0/5;
c=3e8;
omiga=(2*pi*c)/lunda0;
Dt=Dx/(2*c);
 alpha=1:1:90;
k=2*pi;
A=Dx*cos(1:1:90)/2;
B=Dx*sin(1:1:90)/2;
C=((Dx/(c*Dt))^2)*(sin(omiga*Dt/2))^2;
   for i=1:3
k=k-((sin(A.*k)).^2+(sin(B.*k)).^2-C)./(A.*sin(2.*A.*k)+B.*sin(2.*B.*k))

   end
kfinal(alpha)=k;
Vp=2*pi*c./kfinal(alpha);
x=Vp./c;

plot(alpha,x)

where is the probleme in my programme matlab???

phasevelocity.jpgtaflove.jpg
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top