matlab中如何求解一个变量和另一个变量的关系,例如f(x,y)=0,求y和x的关系
symsq0w0lamdalfLM1M2M3Mqw;w0=0.015;lamda=0.000006;f=10;M1=[1l;01];M2=[10;-1/f1];M3=[1...
syms q0 w0 lamda l f L M1 M2 M3 M q w;
w0=0.015;
lamda=0.000006;
f=10;
M1=[1 l;0 1];
M2=[1 0;-1/f 1];
M3=[1 L;0 1];
M=(M3)*(M2)*(M1);
q0=(i*pi*w0^2)/lamda;
q=(M(1).*q0+M(2))/(M(3).*q0+M(4));
solve('real(1/q)=0','L');
??? Error using ==> solve
Error, (in fsolve) q is in the equation, and is not solved for
还不不行啊 展开
w0=0.015;
lamda=0.000006;
f=10;
M1=[1 l;0 1];
M2=[1 0;-1/f 1];
M3=[1 L;0 1];
M=(M3)*(M2)*(M1);
q0=(i*pi*w0^2)/lamda;
q=(M(1).*q0+M(2))/(M(3).*q0+M(4));
solve('real(1/q)=0','L');
??? Error using ==> solve
Error, (in fsolve) q is in the equation, and is not solved for
还不不行啊 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询