How to solve symbolic simultaneous Trigonometric Equations
2 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(1 个)
Azzi Abdelmalek
2012-8-13
编辑:Azzi Abdelmalek
2012-8-13
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!