How to solve symbolic simultaneous Trigonometric Equations

1 回表示 (過去 30 日間)
Thomas
Thomas 2012 年 8 月 13 日
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);

回答 (1 件)

Azzi Abdelmalek
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

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by