Output is giving me Empty sym: 0-by-1

2 views (last 30 days)
f=1995.26;
z=71440;
seta=-77.04;
syms c R;
eqns = [ seta - atan( 1 / ( -2 * pi * f * c * R )) == 0, z^2 - 1 / ((R)^2 + ( 2 * pi * f * c )^2 ) == 0];
vars = [c R];
[solc, solR] = vpasolve(eqns,vars)
I'm trying to solve for the equations, but I'm getting the "Empty sym: 0-by-1" output, and I'm unsure why. I don't know why this is being outputted. i want to get c and R.

Accepted Answer

Torsten
Torsten on 7 Sep 2022
Edited: Torsten on 7 Sep 2022
f=1995.26;
z=71440;
seta=-77.04;
syms c R;
eqns = [ tand(seta) + 1 / ( 2 * pi * f * c * R ) == 0, z^2 - 1 / (R^2 + ( 2 * pi * f * c )^2 ) == 0];
vars = [c R];
[solc, solR] = vpasolve(eqns,vars)
solc = 
solR = 

More Answers (0)

Community Treasure Hunt

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

Start Hunting!