Info

この質問は閉じられています。 編集または回答するには再度開いてください。

why display is not showing table

1 回表示 (過去 30 日間)
shiv gaur
shiv gaur 2022 年 2 月 16 日
閉鎖済み: Rik 2022 年 2 月 16 日
la0 = 650; k0 = 2*pi/la0; a = 100/2;
ef = 1; ec = -19.6224 - 0.443*1i;
pc = ef/ec; tol = 1e-12;
q = (0:3)'
m=0;
ga1 = 1/k0/a*atanh(-pc) - 1i*pi/2/a/k0*(m+2*q);
ga2 = 1/k0/a*atanh(-pc) + 1i*pi/2/a/k0*(m+2*q);
gin = [ga1.'; ga2.']; gin = gin(:);
q = [q';q']; q = q(:);
gin(1)=[]; q(1)=[];
function be=f(la0, ef, ec, a, bin, m, tol);
bin = sqrt(gin.^2 + ef);
ga = sqrt(be.^2 - ef); ac = sqrt(be.^2 - ec); % gamma and alpha_c vectors
E = norm(pc*ac + ga.*tanh(ga*k0*a + j*m*pi/2)) % computational error norm
endfunction
num2str([be,ga,ac],’%12.6f’)
disp(be)
1.2261233 - 0.0026097i the value of be is shown but no table is form pl help it
  1 件のコメント
Rik
Rik 2022 年 2 月 16 日
Please post comments on your existing questions instead of posting new threads.

回答 (0 件)

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by