Info

This question is closed. Reopen it to edit or answer.

why display is not showing table

1 view (last 30 days)
shiv gaur
shiv gaur on 16 Feb 2022
Closed: Rik on 16 Feb 2022
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 Comment
Rik
Rik on 16 Feb 2022
Please post comments on your existing questions instead of posting new threads.

Answers (0)

This question is closed.

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!