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 个评论

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

请先登录,再进行评论。

 采纳的回答

madhan ravi
madhan ravi 2018-9-3
编辑:madhan ravi 2018-9-3
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 个评论

i have attached new file to make easier for you

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by