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
0 个评论
回答(1 个)
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?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Equation Solving 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!