how to solve this equation n=[1 2 3 4 5 6]; kz=2*pi*n(i) equation RTE=( Kz,i-kz,i+1)/(Kz,i+kz,i+1); how to solve RTE

2 Comments

I'm afraid that you have to rewrite your question with a more comprehensive way.
i am providing you doc file

Sign in to comment.

 Accepted Answer

madhan ravi
madhan ravi on 3 Sep 2018
Edited: madhan ravi on 3 Sep 2018
Maybe try the following:
n=[1 2 3 4 5 6];
ki=2.*pi.*n
k=1.2
kz=sqrt((ki.^2-k.^2))
for i= 1:length(kz)-1
RTE(i)=(kz(i)-kz(i+1))/(kz(i)+kz(i+1));
end
RTE

2 Comments

i have attached new file to make easier for you
check now

Sign in to comment.

More Answers (0)

Categories

Find more on Numerical Integration and Differential Equations in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!