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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

madhan ravi
madhan ravi am 3 Sep. 2018
Bearbeitet: madhan ravi am 3 Sep. 2018

1 Stimme

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by