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