How to solve symbolic simultaneous Trigonometric Equations

2 views (last 30 days)
I have these two equations to solve for a1 and wc, this is what I have tried?
syms a1 wc T1 T2 real
syms c1 d1 e1 f1 g1 h1 k1 l1 m1 n1 real
syms c2 d2 e2 f2 g2 h2 k2 l2 m2 n2 real
my_1 = (c1 + d1*a1)*sin(wc*T1) + (e1 + f1*a1)*cos(wc*T1) + (g1 + h1*a1)*sin(wc*T2) + (k1 + l1*a1)*cos(wc*T2) + m1 + n1*a1
my_2 = (c2 + d2*a1)*sin(wc*T1) + (e2 + f2*a1)*cos(wc*T1) + (g2 + h2*a1)*sin(wc*T2) + (k2 + l2*a1)*cos(wc*T2) + m2 + n2*a1
[A,B] = solve(my_1,my_2,a1,wc);

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 13 Aug 2012
Edited: Azzi Abdelmalek on 13 Aug 2012
the result means that your system don't have solutions or can't find them. try to assign values to your constants and then solve

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!