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