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 commentaires

Dimitris Kalogiros
Dimitris Kalogiros le 3 Sep 2018
I'm afraid that you have to rewrite your question with a more comprehensive way.
Arvind Sharma
Arvind Sharma le 3 Sep 2018
i am providing you doc file

Connectez-vous pour commenter.

 Réponse acceptée

madhan ravi
madhan ravi le 3 Sep 2018
Modifié(e) : madhan ravi le 3 Sep 2018

1 vote

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 commentaires

Arvind Sharma
Arvind Sharma le 3 Sep 2018
i have attached new file to make easier for you
madhan ravi
madhan ravi le 3 Sep 2018
check now

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by