how to solve using "solve" command ?

how to solve the following equation for k1 and k2 using "solve" command ?
(k1+2k2)sinx+(2k1-k2)cosx=2sinx
syms x k1 k2
solve ( (k1+2*k2)*sinx + (2*k1-k2)*cosx=2*sinx), [k1, k2])
returns a sym object which I can not convert to numerical value.

回答 (0 件)

この質問は閉じられています。

質問済み:

2018 年 1 月 22 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by