What am i doing wrong in this code?

1 次查看(过去 30 天)
syms beta
epsilon_r = 2.1;
f = (7e12);
w = (2*3.1416*f);
surface_conductivity = (0.00012164049 - 0.0053497497i);
c = (3e8);
epsilon_naught = (8.854e-12);
solve((1/(sqrt((kspp).^2 - (w/c).^2))) + ((epsilon_r)/(sqrt((kspp).^2 - ((w/c).^2)*epsilon_r))) + (surface_conductivity/(epsilon_naught*w)*i))
I was trying to solve this equation but when i run this code, in the command line i got the ans= 0-by-1.Any kind of suggestion will be really helpful. Thanks in advance
Capture.PNG

回答(1 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019-9-4
syms beta
epsilon_r=2.1;
f=(7e12);
w=(2*3.1416*f);
surface_conductivity = (0.00012164049 - 0.0053497497i);
c=(3e8);
epsilon_naught=(8.854e-12);
solve((1/(sqrt((beta).^2 - (w/c).^2))) + ((epsilon_r)/(sqrt((beta).^2 - ((w/c).^2)*epsilon_r))) + i*(surface_conductivity/(epsilon_naught*w)),beta)
Do verify?

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by