Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

why display is not showing table

1 visualizzazione (ultimi 30 giorni)
shiv gaur
shiv gaur il 16 Feb 2022
Chiuso: Rik il 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 Commento
Rik
Rik il 16 Feb 2022
Please post comments on your existing questions instead of posting new threads.

Risposte (0)

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by